Merge pull request #268 from sveltejs/gh-267

fix apostrophe entity
pull/273/head
Rich Harris 8 years ago committed by GitHub
commit 4cad216e66

@ -112,7 +112,7 @@ export default function ssr ( parsed, source, options, names ) {
var escaped = {
'"': '"',
"'": '&39;',
"'": ''',
'&': '&',
'<': '&lt;',
'>': '&gt;'

@ -1 +1 @@
&lt;p&gt;this should be &lt;em&gt;escaped&lt;/em&gt; &amp; so should &39;this&39;&lt;/p&gt;
&lt;p&gt;this should be &lt;em&gt;escaped&lt;/em&gt; &amp; so should &#39;this&#39;&lt;/p&gt;

@ -1 +1 @@
&lt;p&gt;this should be &lt;em&gt;escaped&lt;/em&gt; &amp; so should &39;this&39;&lt;/p&gt;
&lt;p&gt;this should be &lt;em&gt;escaped&lt;/em&gt; &amp; so should &#39;this&#39;&lt;/p&gt;

@ -0,0 +1,3 @@
{
"foo": "it's working"
}
Loading…
Cancel
Save