Merge branch 'master' into citeproc
commitf15965e205a5c11adca6b08c14c8fffccdcc9cc5
authorJohn MacFarlane <jgm@berkeley.edu>
dateSat 27 Nov 2010, 11:54 (16 years ago)
parenteac4abe970f63c
src/Text/Pandoc/Writers/LaTeX.hs+4
@@ -110,6 +110,10 @@ stringToLaTeX = escapeStringUsing latexEscapes
110110 , ('[', "{[}") -- to avoid interpretation as
111111 , (']', "{]}") -- optional arguments
112112 , ('\160', "~")
113+ , ('\x2018', "`")
114+ , ('\x2019', "'")
115+ , ('\x201C', "``")
116+ , ('\x201D', "''")
113117 ]
114118
115119-- | Puts contents into LaTeX command.