Items converted to the DocBook format are without newlines and indentation. The complete document is just one line.
We should consider adding the "wrap" class to the <pre> block
- for DocBook documents,
- if the item has no newlines (or just one at the end), or
- with a button to toggle the view.
Note:
Rendering code pre-formatted is essential for code or markup using languages with "semantic indentation" like Python or rST. They should not wrap.