Skip to content

Do not highlight CSP directive names with adjacent hyphens#2662

Merged
RunDevelopment merged 2 commits into
PrismJS:masterfrom
edukisto:topic-do-not-highlight-csp-directive-names-with-adjacent-hyphens
Nov 30, 2020
Merged

Do not highlight CSP directive names with adjacent hyphens#2662
RunDevelopment merged 2 commits into
PrismJS:masterfrom
edukisto:topic-do-not-highlight-csp-directive-names-with-adjacent-hyphens

Conversation

@edukisto

Copy link
Copy Markdown
Contributor

Resolves #2661.

@RunDevelopment RunDevelopment left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very good work @edukisto!

Please add a test case for your issue. Language definition is good as is.

@edukisto

Copy link
Copy Markdown
Contributor Author

Is the name of the file correct? I mean issue2661.test.

@RunDevelopment

Copy link
Copy Markdown
Member

Yes it is.

@RunDevelopment
RunDevelopment merged commit a7ccc16 into PrismJS:master Nov 30, 2020
@RunDevelopment

Copy link
Copy Markdown
Member

Thank you for contributing @edukisto!

@edukisto

Copy link
Copy Markdown
Contributor Author

Thank you, @RunDevelopment!

This was referenced Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSP directive names with adjacent hyphens are highlighted

2 participants