git.iko.soy/typeable/pandoc
on master help sign in
LaTeX writer: use `\hspace{0pt}` for 0-width space U+200B.
c425424John MacFarlane
src/Text/Pandoc/Writers/LaTeX.hs+1
@@ -375,6 +375,7 @@ stringToLaTeX context zs = do
375 ']' -> emits "{]}" -- optional arguments
375 ']' -> emits "{]}" -- optional arguments
376 '\'' | ctx == CodeString -> emitcseq "\\textquotesingle"
376 '\'' | ctx == CodeString -> emitcseq "\\textquotesingle"
377 '\160' -> emits "~"
377 '\160' -> emits "~"
378+ '\x200B' -> emits "\\hspace{0pt}" -- zero-width space
378 '\x202F' -> emits "\\,"
379 '\x202F' -> emits "\\,"
379 '\x2026' -> emitcseq "\\ldots"
380 '\x2026' -> emitcseq "\\ldots"
380 '\x2018' | ligatures -> emitquote "`"
381 '\x2018' | ligatures -> emitquote "`"