[TASK] Make long lines shorter

Long lines at some points break output, e.g. if used in code blocks on
pages in PDF files. As a workaround, make long lines shorter.

Resolves: #60997