aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorVaclav Zeman <vhaisman@gmail.com>2016-08-27 22:17:39 +0200
committerVaclav Zeman <vhaisman@gmail.com>2016-08-27 22:17:39 +0200
commit1053677f4966f58be9cfecce0ce5769c02da0280 (patch)
treea49204d74130dc04ae86806aea6a87a1e0174597 /src/Text
parentd29a6238968c963c8fba829d23a605d3e780118e (diff)
downloadpandoc-1053677f4966f58be9cfecce0ce5769c02da0280.tar.gz
Translate NARROW NO-BREAK SPACE into LaTeX.
Translate NARROW NO-BREAK SPACE into LaTeX' `\,`.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Writers/LaTeX.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs
index 29e8c962c..73cd5a599 100644
--- a/src/Text/Pandoc/Writers/LaTeX.hs
+++ b/src/Text/Pandoc/Writers/LaTeX.hs
@@ -296,6 +296,7 @@ stringToLaTeX ctx (x:xs) = do
']' -> "{]}" ++ rest -- optional arguments
'\'' | ctx == CodeString -> "\\textquotesingle{}" ++ rest
'\160' -> "~" ++ rest
+ '\x202F' -> "\\," ++ rest
'\x2026' -> "\\ldots{}" ++ rest
'\x2018' | ligatures -> "`" ++ rest
'\x2019' | ligatures -> "'" ++ rest