Skip to content

Conversation

@joshgoebel
Copy link
Member

@joshgoebel joshgoebel commented Feb 25, 2022

Closes #3479.

Changes

Checklist

  • Added markup tests, or they don't apply here because...
  • Updated the changelog at CHANGES.md

@joshgoebel joshgoebel added this to the 11.5 milestone Mar 1, 2022
@joshgoebel joshgoebel requested a review from allejo March 1, 2022 11:41
Copy link
Member

@allejo allejo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look fine to me and fix the problem at hand. I'm not sure how I feel about just highlighting strings in directives and not their respective attributes (we highlight "attributes" in the meta <! sections).

image

Taking a look at two separate editors, it looks like they highlight the attributes in directives.

image
image

@joshgoebel
Copy link
Member Author

We also have the problem of things inside meta not being styled super well (or consistently) historically other than meta string and meta keyword... so that's a great point but I think I'm happy to circle back and solve it another day. :)

@allejo
Copy link
Member

allejo commented Mar 2, 2022

...I think I'm happy to circle back and solve it another day

I'm fine with that, it's nothing blocking this PR imo

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

XML mode doesn't highlight processing instructions

2 participants