mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
better fix for the `\sphinxcode
` issue (with comma character)
the context is not exactly as in code-blocks
This commit is contained in:
parent
0cdfdb7915
commit
c689994cf8
@ -245,7 +245,7 @@
|
||||
\long\protected\def\sphinxcode#1{{\def\@tempa{alltt}%
|
||||
\ifx\@tempa\@currenvir\else
|
||||
\ifspx@opt@inlineliteralwraps
|
||||
\let\verbatim@nolig@list \sphinx@verbatim@nolig@list
|
||||
\def\verbatim@nolig@list {\do\`\do\<\do\>\do\'\do\-}%
|
||||
\sphinxbreaksviaactive\let\sphinxafterbreak\empty
|
||||
\fi
|
||||
\@noligs\endlinechar\m@ne\everyeof{\noexpand}%
|
||||
|
Loading…
Reference in New Issue
Block a user