diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2010-11-27 11:53:30 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2010-11-27 11:53:30 -0800 |
| commit | 970f63c18a5caf2954e02200150a4bc051a74648 (patch) | |
| tree | 1b61f217e35c1099d93248e38aea040de0a6a931 | |
| parent | 1ffbb59823975e0df5d0cf04f2384dc1ee05d452 (diff) | |
| download | pandoc-970f63c18a5caf2954e02200150a4bc051a74648.tar.gz | |
LaTeX writer: Escape curly quotes.
| -rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index 5fa345760..0f5ae0eb2 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -110,6 +110,10 @@ stringToLaTeX = escapeStringUsing latexEscapes , ('[', "{[}") -- to avoid interpretation as , (']', "{]}") -- optional arguments , ('\160', "~") + , ('\x2018', "`") + , ('\x2019', "'") + , ('\x201C', "``") + , ('\x201D', "''") ] -- | Puts contents into LaTeX command. |
