aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2011-12-27 11:19:23 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2011-12-27 11:19:23 -0800
commit8838f473a825747fc00f61cbddfe3732fe3a9b6f (patch)
tree0da15110a0ee529ed92142776608006190cbad7c /src
parent4f76fe5a1debfb61cba8b20474d30fc5632f4be4 (diff)
downloadpandoc-8838f473a825747fc00f61cbddfe3732fe3a9b6f.tar.gz
LaTeX reader: Return Str instead of Apostrophe.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs2
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