Skip to content

Contents in <pre> tags loses formatting #3

@marek-obuchowicz

Description

@marek-obuchowicz

On our page we are using <pre>...</pre> tags, which contain source code snippets (with multiple spaces, newlines, etc.

Current behaviour
I have noticed that such snippets lose their formatting, as contents of this tag are minified as well.

Expected behaviour
Contents of <pre> tags remain unchanged while rest of HTML is minified

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions