mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
fix a latex issue in `\sphinxcode
` for inline literals word-wrap
this is the same issue which was fixed at 71b9f00
for code-blocks
This commit is contained in:
parent
c94f3b7d73
commit
0cdfdb7915
@ -245,6 +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
|
||||
\sphinxbreaksviaactive\let\sphinxafterbreak\empty
|
||||
\fi
|
||||
\@noligs\endlinechar\m@ne\everyeof{\noexpand}%
|
||||
|
Loading…
Reference in New Issue
Block a user