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

Improper highlighting of custom HTML tags that contain hyphens #667

Open
lutalli opened this issue Feb 5, 2025 · 0 comments
Open

Improper highlighting of custom HTML tags that contain hyphens #667

lutalli opened this issue Feb 5, 2025 · 0 comments

Comments

@lutalli
Copy link

lutalli commented Feb 5, 2025

When I write custom HTML tags in a Markdown file that contain hyphens (like <my-tag></my-tag>), the highlighting works in a wrong way: The words connected by hyphens are highlighted individually, which leads to that, if a word in my custom tag is identical to a standard HTML tag, it's highlighted differently:

Image

Instead, a tag with hyphens should be treated as whole:

Image

I'm not sure if this is a bug of this plugin, but I'm not experiencing this bug while working in an HTML file.

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

No branches or pull requests

1 participant