better fix for the `\sphinxcode` issue (with comma character)

the context is not exactly as in code-blocks
This commit is contained in:
jfbu 2016-11-06 13:34:01 +01:00
parent 0cdfdb7915
commit c689994cf8

View File

@ -245,7 +245,7 @@
\long\protected\def\sphinxcode#1{{\def\@tempa{alltt}% \long\protected\def\sphinxcode#1{{\def\@tempa{alltt}%
\ifx\@tempa\@currenvir\else \ifx\@tempa\@currenvir\else
\ifspx@opt@inlineliteralwraps \ifspx@opt@inlineliteralwraps
\let\verbatim@nolig@list \sphinx@verbatim@nolig@list \def\verbatim@nolig@list {\do\`\do\<\do\>\do\'\do\-}%
\sphinxbreaksviaactive\let\sphinxafterbreak\empty \sphinxbreaksviaactive\let\sphinxafterbreak\empty
\fi \fi
\@noligs\endlinechar\m@ne\everyeof{\noexpand}% \@noligs\endlinechar\m@ne\everyeof{\noexpand}%