diff options
| author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-05 05:33:24 +0000 |
|---|---|---|
| committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-05 05:33:24 +0000 |
| commit | 8671bc5a1be38f6555e34d7ccc542ebbe91f69fd (patch) | |
| tree | b1dcbf74eb45462d3f6cb0493792fe2a94daf680 /tests | |
| parent | 94841b7602f3465cdb7a452989975d08e43fc694 (diff) | |
| download | pandoc-8671bc5a1be38f6555e34d7ccc542ebbe91f69fd.tar.gz | |
Markdown reader: Treat a backslash followed by a newline as hard linebreak.
Resolves Issue #154.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1646 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/markdown-reader-more.native | 4 | ||||
| -rw-r--r-- | tests/markdown-reader-more.txt | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native index 0e76ace86..e6665591a 100644 --- a/tests/markdown-reader-more.native +++ b/tests/markdown-reader-more.native @@ -19,5 +19,7 @@ Pandoc (Meta [] [] "") , Header 2 [Str "Commented",Str "-",Str "out",Space,Str "list",Space,Str "item"] , BulletList [ [ Plain [Str "one"] - , RawHtml "<!--\n- two\n-->" ], [ Plain [Str "three"] ] ] ] + , RawHtml "<!--\n- two\n-->" ], [ Plain [Str "three"] ] ] +, Header 2 [Str "Backslash",Space,Str "newline"] +, Para [Str "hi",LineBreak,Str "there"] ] diff --git a/tests/markdown-reader-more.txt b/tests/markdown-reader-more.txt index 02b425e11..4689ee84a 100644 --- a/tests/markdown-reader-more.txt +++ b/tests/markdown-reader-more.txt @@ -59,3 +59,8 @@ $\$2 + \$3$ --> - three +## Backslash newline + +hi\ +there + |
