mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05: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:
@@ -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}%
|
||||
|
||||
Reference in New Issue
Block a user