Encode single quote in HTML (JSX)

This commit is contained in:
Kimmo Puputti 2017-01-17 20:16:39 +02:00
parent 7a623b7660
commit 40f5da483a
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ export default (props) => {
<br />
<Link to={ `/order/${params.id}/details` }>Details tab</Link>
<p>Mobile layout needs different views for discussion and details.</p>
<p>Discussion view is the default if route doesn't specify mobile tab (e.g. <i>/order/1234</i>)</p>
<p>Discussion view is the default if route doesn&#39;t specify mobile tab (e.g. <i>/order/1234</i>)</p>
</Page>
);
};

View file

@ -11,7 +11,7 @@ export default (props) => {
<br />
<Link to={ `/sale/${params.id}/details` }>Details tab</Link>
<p>Mobile layout needs different views for discussion and details.</p>
<p>Discussion view is the default if route doesn't specify mobile tab (e.g. <i>/order/1234</i>)</p>
<p>Discussion view is the default if route doesn&#39;t specify mobile tab (e.g. <i>/order/1234</i>)</p>
</Page>
);
};