Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
LeaVerou opened this issue Apr 27, 2022 · 1 comment · Fixed by #3442
Closed

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

LeaVerou opened this issue Apr 27, 2022 · 1 comment · Fixed by #3442

Comments

@LeaVerou
Copy link
Member

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.

@LeaVerou LeaVerou added the bug label Apr 27, 2022
@RunDevelopment
Copy link
Member

We might decide that this is a feature, not a bug

Not if I have anything to say in that matter lol

One sec, I'll fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants