From 76e6c071d09cfcba8d8c2097756e581157d43820 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sat, 6 Mar 2010 02:42:15 +0000 Subject: Disallow blank lines in inline code span. Also added additional test cases for markdown code spans. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1860 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/markdown-reader-more.native | 8 +++++++- tests/markdown-reader-more.txt | 13 +++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native index a39965970..ccf29329e 100644 --- a/tests/markdown-reader-more.native +++ b/tests/markdown-reader-more.native @@ -21,5 +21,11 @@ Pandoc (Meta {docTitle = [Str "Title",Space,Str "spanning",Space,Str "multiple", [ [ Plain [Str "one"] , RawHtml "" ], [ Plain [Str "three"] ] ] , Header 2 [Str "Backslash",Space,Str "newline"] -, Para [Str "hi",LineBreak,Str "there"] ] +, Para [Str "hi",LineBreak,Str "there"] +, Header 2 [Str "Code",Space,Str "spans"] +, Para [Code "hi\\"] +, Para [Code "hi there"] +, Para [Code "hi````there"] +, Para [Str "`",Str "hi"] +, Para [Str "there",Str "`"] ] diff --git a/tests/markdown-reader-more.txt b/tests/markdown-reader-more.txt index de80d740b..bc1260cfc 100644 --- a/tests/markdown-reader-more.txt +++ b/tests/markdown-reader-more.txt @@ -70,3 +70,16 @@ $\$2 + \$3$ hi\ there +## Code spans + +`hi\` + +`hi +there` + +`` hi````there `` + +`hi + +there` + -- cgit v1.2.3