diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-11-01 22:58:44 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-11-01 22:58:44 +0000 |
commit | 412315b530706ef88b534cec8cd8d32b29271a54 (patch) | |
tree | 88d3be96a9002c30d4e6634bbef1ba7999630f7d /tests | |
parent | a24d107e6f9247af0cefc73e797ad4aa441af7e3 (diff) | |
download | pandoc-412315b530706ef88b534cec8cd8d32b29271a54.tar.gz |
Markdown reader: Allow blank space at end of horizontal rules.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1480 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests')
-rw-r--r-- | tests/markdown-reader-more.native | 5 | ||||
-rw-r--r-- | tests/markdown-reader-more.txt | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native index 3d38e7a9a..c3c745510 100644 --- a/tests/markdown-reader-more.native +++ b/tests/markdown-reader-more.native @@ -7,5 +7,8 @@ Pandoc (Meta [] [] "") , Para [TeX "\\start[a2]\n\\start[a2]\n\\stop[a2]\n\\stop[a2]"] , Header 2 [Str "URLs",Space,Str "with",Space,Str "spaces"] , Para [Link [Str "foo"] ("/bar%20and%20baz",""),Space,Link [Str "foo"] ("/bar%20and%20baz",""),Space,Link [Str "foo"] ("/bar%20and%20baz",""),Space,Link [Str "foo"] ("bar%20baz","title")] -, Para [Link [Str "baz"] ("/foo%20foo",""),Space,Link [Str "bam"] ("/foo%20fee",""),Space,Link [Str "bork"] ("/foo/zee%20zob","title")] ] +, Para [Link [Str "baz"] ("/foo%20foo",""),Space,Link [Str "bam"] ("/foo%20fee",""),Space,Link [Str "bork"] ("/foo/zee%20zob","title")] +, Header 2 [Str "Horizontal",Space,Str "rules",Space,Str "with",Space,Str "spaces",Space,Str "at",Space,Str "end"] +, HorizontalRule +, HorizontalRule ] diff --git a/tests/markdown-reader-more.txt b/tests/markdown-reader-more.txt index d26274d6a..ccc9d3a0a 100644 --- a/tests/markdown-reader-more.txt +++ b/tests/markdown-reader-more.txt @@ -35,3 +35,9 @@ [bam]: /foo fee [bork]: /foo/zee zob (title) +## Horizontal rules with spaces at end + +* * * * * + +-- - -- -- - + |