diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-27 11:19:23 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-27 11:19:23 -0800 |
commit | 8838f473a825747fc00f61cbddfe3732fe3a9b6f (patch) | |
tree | 0da15110a0ee529ed92142776608006190cbad7c /src/Text/Pandoc | |
parent | 4f76fe5a1debfb61cba8b20474d30fc5632f4be4 (diff) | |
download | pandoc-8838f473a825747fc00f61cbddfe3732fe3a9b6f.tar.gz |
LaTeX reader: Return Str instead of Apostrophe.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |