From 8838f473a825747fc00f61cbddfe3732fe3a9b6f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 27 Dec 2011 11:19:23 -0800 Subject: LaTeX reader: Return Str instead of Apostrophe. --- src/Text/Pandoc/Readers/LaTeX.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 9ad31cba5..c418fef2a 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -771,7 +771,7 @@ subscript = try $ string "\\textsubscript{" >> manyTill inline (char '}') >>= return . Subscript apostrophe :: GenParser Char ParserState Inline -apostrophe = char '\'' >> return Apostrophe +apostrophe = char '\'' >> return (Str "\x2019") quoted :: GenParser Char ParserState Inline quoted = doubleQuoted <|> singleQuoted -- cgit v1.2.3