Skip to content

Syntax-Highlight item-view of one-line XML documents should wrap. #2112

@gmilde

Description

@gmilde

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions