aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-11-27 11:54:26 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-11-27 11:54:26 -0800
commitf15965e205a5c11adca6b08c14c8fffccdcc9cc5 (patch)
treed7f6642f93c33d230e5e25b361b17c5f04db09a8 /src
parenteac4abe36f705b852726eeceee928eb9ead6ceb0 (diff)
parent970f63c18a5caf2954e02200150a4bc051a74648 (diff)
downloadpandoc-f15965e205a5c11adca6b08c14c8fffccdcc9cc5.tar.gz
Merge branch 'master' into citeproc
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/LaTeX.hs4
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.