Skip to content

parse-backticks hides template literal backticks in code blocks #10351

Closed

Description

@karlhorky

Description

With parse-backticks enabled, both backticks around a SQL tagged template string disappear from a PR comment’s code block - DevTools shows both backticks wrapped in span.sr-only elements, with the SQL string inside code.rgh-parse-backticks:

Image

Disabling parse-backticks restores both backticks:

Image

How to replicate the issue + URL

  1. Enable parse-backticks.
  2. Open Transform JSON / JSONB parameter keys porsager/postgres#1169 (comment)
  3. Inspect the second code block, below Example 1. Both backticks around the SQL template literal are hidden.
  4. Disable parse-backticks and reload. Both backticks appear.

Extension version

26.10.26

Browser(s) used

Chrome 156.0.8078.74

Token ⚠️

  • I set a token in the options page. I understand that some features require a token to work.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions