diff options
| author | John MacFarlane <[email protected]> | 2022-08-16 09:52:16 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-08-16 09:52:16 -0700 |
| commit | 473a9b15be95ddf5ae00e1bcf13f7b74d1844331 (patch) | |
| tree | 371b76fc3b0c3bd92bb2a93d6266690b420e2248 /src | |
| parent | 3202a288acf055da360802a8378a147d8f5e8933 (diff) | |
LaTeX writer: use `\textquotesingle` for straight quotes in text.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Writers/LaTeX/Util.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX/Util.hs b/src/Text/Pandoc/Writers/LaTeX/Util.hs index 350a6fa34..a0d207a70 100644 --- a/src/Text/Pandoc/Writers/LaTeX/Util.hs +++ b/src/Text/Pandoc/Writers/LaTeX/Util.hs @@ -120,7 +120,7 @@ stringToLaTeX context zs = do '>' -> emitcseq "\\textgreater" '[' -> emits "{[}" -- to avoid interpretation as ']' -> emits "{]}" -- optional arguments - '\'' | ctx == CodeString -> emitcseq "\\textquotesingle" + '\'' -> emitcseq "\\textquotesingle" '\160' -> emits "~" '\x200B' -> emits "\\hspace{0pt}" -- zero-width space '\x202F' -> emits "\\," |
