Skip to content

Syntax highlighting on the website is broken #627

@nilslindemann

Description

@nilslindemann

Hi people,

Paste the first code example from https://stackoverflow.com/a/56926044 into the online version. It breaks the syntax highlighting. It will just partially improve when making a change.

Furthermore, it does not make sense how it highlights. E.g. remove/re-add the empty line in line 5 and this will change the highlighting of lines 6 to 14. Both do not look valid, e.g. the brackets:

Image

Sometimes the highlighting also, seemingly randomly, (just in Chrome?) changes to a nearly all-orange version, but I cannot reproduce this right now.

Tested in Firefox and Chrome on Win 10.

Thanks for Peggy and greetings.

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