mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix highlighting in PDF if wrapping of long code lines was _not_ enabled
This commit is contained in:
parent
3bbfbadce5
commit
e583e5b0f3
@ -902,7 +902,7 @@
|
||||
% codes*=..., and \fvset{codes=...} if added by raw latex will be overwritten
|
||||
\def\FancyVerbCodes{\sphinxbreaksviaactive}%
|
||||
\else % end of conditional code for wrapping long code lines
|
||||
\let\sphinx@FancyVerbFormatLine\FancyVerbFormatLine
|
||||
\def\sphinx@FancyVerbFormatLine ##1{\hb@xt@\linewidth{\strut ##1\hss}}%
|
||||
\let\FancyVerbCodes\@empty % only for clarity
|
||||
\fi
|
||||
\renewcommand\FancyVerbFormatLine[1]{%
|
||||
|
Loading…
Reference in New Issue
Block a user