Skip to content

Markdown: Syntax highlighting fails with escaped double quotes #3872

Closed
@orbea

Description

@orbea

Description

With shell scripts syntax highlighting fails when encountering an escaped double quote (\") causing following code to be incorrectly highlighted. This is very distracting and instead of making the code easier to read, the syntax highlighting makes it harder to read. Please see the try.gitea.io example link for a test case.

Screenshots

test

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions