diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-07-27 03:54:07 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-07-27 03:54:07 +0000 |
commit | 57df7f5eb6c7d9e258ffc017380efd3b3422add9 (patch) | |
tree | e0b2d07abd6d1ff3eb57b8f0b45ebd8438218813 /tests | |
parent | ddaec05d8f49308363c694718240bdaf58466659 (diff) | |
download | pandoc-57df7f5eb6c7d9e258ffc017380efd3b3422add9.tar.gz |
HTML writer: override Text.XHtml's stringToHtml function,
so that characters below 0xff are not converted to numerical entity
references. Also convert '\160' to " ". This should aid readability
and editability of the HTML source. It does presuppose that the HTML
will be served as UTF-8.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1338 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests')
-rw-r--r-- | tests/writer.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/writer.html b/tests/writer.html index 4a7c384ee..8a4f62fee 100644 --- a/tests/writer.html +++ b/tests/writer.html @@ -412,7 +412,7 @@ These should not be escaped: \$ \\ \> \[ \{ ><p >Should not be a list item:</p ><p - >M.A. 2007</p + >M.A. 2007</p ><p >B. Williams</p ><hr @@ -678,7 +678,7 @@ Blah >hello</em ></sup > a<sup - >hello there</sup + >hello there</sup >.</p ><p >Subscripts: H<sub @@ -686,7 +686,7 @@ Blah >O, H<sub >23</sub >O, H<sub - >many of them</sub + >many of them</sub >O.</p ><p >These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.</p |