From 33ba35da9fd584a17b6b1011daa76a8232799c18 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 7 Dec 2010 20:44:43 -0800 Subject: Smart punctuation: recognize entities. Now “Hi” gets parsed as a Quoted DoubleQuote inline. --- src/Text/Pandoc/Readers/Markdown.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Readers') diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs index c9f6adcb3..41eea16c5 100644 --- a/src/Text/Pandoc/Readers/Markdown.hs +++ b/src/Text/Pandoc/Readers/Markdown.hs @@ -900,7 +900,6 @@ inlineParsers = [ str , whitespace , endline , code - , charRef , (fourOrMore '*' <|> fourOrMore '_') , strong , emph @@ -919,6 +918,7 @@ inlineParsers = [ str , escapedChar , exampleRef , smartPunctuation inline + , charRef , symbol , ltSign ] -- cgit v1.2.3