Files
pandoc/test/command/3958.md
T
John MacFarlaneandClaude 63a1710cd4 LaTeX reader: keep ASCII quotes when ligatures are disabled.
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>
2026-09-08 16:10:11 -07:00

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'" ] ]