Skip to content

Commit 187531e

Browse files
committed
Allow breaking on any character.
Some specs need long lines of purely alphanumeric text to break, or else a segfault occurs.
1 parent 9da37c2 commit 187531e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ocp-pandoc-resources/pdf/ocp.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,13 +196,13 @@
196196
\end{tcolorbox}
197197
}
198198

199-
% Allows text in the code block to break on spaces, periods, slashes, and colons.
199+
% Allows text in the code block to break on spaces or non-spaces.
200200
\usepackage{fvextra}
201201
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{
202202
commandchars=\\\{\},
203203
breaklines,
204204
breaknonspaceingroup,
205-
breakafter=./:
205+
breakanywhere
206206
}
207207

208208
\newcommand{\BeginCodeBlock}[1]{

0 commit comments

Comments
 (0)