From 7864f30717767f89ee33532b59819b51ef2e14d4 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 6 Dec 2010 20:36:58 -0800 Subject: Markdown reader: handle curly quotes better. Previously, curly quotes were just parsed literally, leading to problems in some output formats. Now they are parsed as Quoted inlines, if --smart is specified. Resolves Issue #270. --- tests/markdown-reader-more.native | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/markdown-reader-more.native') diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native index 55968af32..784b14ccc 100644 --- a/tests/markdown-reader-more.native +++ b/tests/markdown-reader-more.native @@ -45,4 +45,7 @@ Pandoc (Meta {docTitle = [Str "Title",Space,Str "spanning",Space,Str "multiple", , Header 2 [Str "Case",Str "-",Str "insensitive",Space,Str "references"] , Para [Link [Str "Fum"] ("/fum","")] , Para [Link [Str "FUM"] ("/fum","")] -, Para [Link [Str "bat"] ("/bat","")] ] +, Para [Link [Str "bat"] ("/bat","")] +, Header 2 [Str "Curly",Space,Str "smart",Space,Str "quotes"] +, Para [Quoted DoubleQuote [Str "Hi"]] +, Para [Quoted SingleQuote [Str "Hi"]] ] -- cgit v1.2.3