aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-11-01 02:38:15 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-11-01 02:38:15 +0000
commiteb2e560d861387414fe03056189f32e54e83851b (patch)
tree7406dbb1c696007134365e6c015eafb370bc6739 /tests
parenta4a5d41441d32a318c658fa8503309576843ce1c (diff)
downloadpandoc-eb2e560d861387414fe03056189f32e54e83851b.tar.gz
Properly handle commented-out list items in markdown.
Example: - a <!-- - b --> - c Resolves Issue #142. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1615 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests')
-rw-r--r--tests/markdown-reader-more.native6
-rw-r--r--tests/markdown-reader-more.txt8
2 files changed, 13 insertions, 1 deletions
diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native
index 995991a17..bf8eb98f8 100644
--- a/tests/markdown-reader-more.native
+++ b/tests/markdown-reader-more.native
@@ -15,5 +15,9 @@ Pandoc (Meta [] [] "")
, Plain [HtmlInline "<a>",HtmlInline "</a>"]
, Header 3 [Str "my",Space,Str "header"]
, Header 2 [Str "$",Space,Str "in",Space,Str "math"]
-, Para [Math InlineMath "\\$2 + \\$3"] ]
+, Para [Math InlineMath "\\$2 + \\$3"]
+, Header 2 [Str "Commented",Str "-",Str "out",Space,Str "list",Space,Str "item"]
+, BulletList
+ [ [ Plain [Str "one"]
+ , RawHtml "<!--\n- two\n-->" ], [ Plain [Str "three"] ] ] ]
diff --git a/tests/markdown-reader-more.txt b/tests/markdown-reader-more.txt
index a7d64dde9..02b425e11 100644
--- a/tests/markdown-reader-more.txt
+++ b/tests/markdown-reader-more.txt
@@ -51,3 +51,11 @@
$\$2 + \$3$
+## Commented-out list item
+
+- one
+<!--
+- two
+-->
+- three
+