mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-14 03:25:51 +00:00
Commit 47610fe3d (#10781) disabled the `--`, `---`, and `"` ligatures
inside `\texttt`, but single `` ` `` and `'` characters were still
converted to curly quotes, so `\texttt{it's}` produced code containing
a Unicode right single quotation mark. Gate those conversions on the
ligatures flag too, so quote characters inside `\texttt` stay as
typed. Update test/command/3958.md accordingly.
Co-Authored-By: Claude <noreply@anthropic.com>
293 B
293 B
% pandoc -f latex -t native
\texttt{"hi"}
^D
[ Para [ Code ( "" , [] , [] ) "\"hi\"" ] ]
% pandoc -f latex -t native
\texttt{``hi''}
^D
[ Para [ Code ( "" , [] , [] ) "``hi''" ] ]
% pandoc -f latex -t native
\texttt{`hi'}
^D
[ Para [ Code ( "" , [] , [] ) "`hi'" ] ]