aboutsummaryrefslogtreecommitdiff
path: root/tests/testsuite.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-12-22 20:25:15 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-30 13:55:40 -0800
commit904050fa36715e18522d80432a2666fcbaacd105 (patch)
tree4745876e797d400539dd80309d31c330a013e969 /tests/testsuite.txt
parent220fe5fab89ce84fcb98f0430c4126281ca8362d (diff)
downloadpandoc-904050fa36715e18522d80432a2666fcbaacd105.tar.gz
New HTML reader using tagsoup as a lexer.
* The new reader is faster and more accurate. * API changes for Text.Pandoc.Readers.HTML: - removed rawHtmlBlock, anyHtmlBlockTag, anyHtmlInlineTag, anyHtmlTag, anyHtmlEndTag, htmlEndTag, extractTagType, htmlBlockElement, htmlComment - added htmlTag, htmlInBalanced, isInlineTag, isBlockTag, isTextTag * tagsoup is a new dependency. * Text.Pandoc.Parsing: Generalized type on readWith. * Benchmark.hs: Added length calculation to force full evaluation. * Updated HTML reader tests. * Updated markdown and textile readers to use the functions from the HTML reader. * Note: The markdown reader now correctly handles some cases it did not before. For example: <hr/> is reproduced without adding a space. <script> a = '<b>'; </script> is parsed correctly.
Diffstat (limited to 'tests/testsuite.txt')
-rw-r--r--tests/testsuite.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testsuite.txt b/tests/testsuite.txt
index 91074efad..ccee0764a 100644
--- a/tests/testsuite.txt
+++ b/tests/testsuite.txt
@@ -431,21 +431,21 @@ Hr's:
<hr>
-<hr/>
+<hr />
<hr />
<hr>
-<hr/>
+<hr />
<hr />
<hr class="foo" id="bar" />
-<hr class="foo" id="bar"/>
+<hr class="foo" id="bar" />
-<hr class="foo" id="bar" >
+<hr class="foo" id="bar">
-----