Skip to content

Markdown: Syntax highlighting fails with escaped double quotes #3872

Closed
@orbea

Description

@orbea
  • Gitea version (or commit ref):
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
      MySQL
      MSSQL
      SQLite
  • Can you reproduce the bug at https://try.gitea.io:
  • Log gist:

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

Activity

stale

stale commented on Jan 27, 2019

@stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

orbea

orbea commented on Jan 27, 2019

@orbea
Author

This issue is still current.

added
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implemented
on Feb 7, 2019
added this to the 1.13.0 milestone on Jun 30, 2020
added a commit that references this issue on Jun 30, 2020
af7ffaa
added a commit that references this issue on Jul 31, 2020
845b9f1
locked and limited conversation to collaborators on Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

    Relationships

    None yet

      Development

      Participants

      @lunny@lafriks@orbea

      Issue actions

        Markdown: Syntax highlighting fails with escaped double quotes · Issue #3872 · go-gitea/gitea