Skip to content

[language-markup] Quotes in HTML attribute values are highlighted #3441

@LeaVerou

Description

@LeaVerou

Information:

  • Prism version: Latest (reproducible on test.html)
  • Plugins: none
  • Environment: Browser

Quotes are highlighted as punctuation inside HTML attributes. E.g. this:

<google-chart data='[["Month", "Days"], ["Jan", 31]]'></google-chart>

is highlighted as:

image

We might decide that this is a feature, not a bug, but figured I'd flag this in case, as it looked wrong to me.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions