Skip to content

Conversation

RunDevelopment
Copy link
Member

This implements the workaround proposed by @karlhorky.

(I also had to change the JSX tag pattern to get rid of the backreferences.)

This also fixes TSX's global namespace pollution.

@RunDevelopment RunDevelopment merged commit 25bdb49 into PrismJS:master Nov 4, 2020
@RunDevelopment RunDevelopment deleted the tsx-tag-generic-collisions branch November 4, 2020 10:51
@karlhorky
Copy link
Contributor

Nice, thanks! Will the version with this be 1.22.1?

@RunDevelopment
Copy link
Member Author

This will be part of 1.23.0 but before that, we will merge a few more PRs.

@karlhorky
Copy link
Contributor

Sounds good, cheers :)

@badsyntax
Copy link

Just want to say this change has fixed things for me. See sergioramos/remark-prism#85

Thanks for the fix!

This was referenced Mar 6, 2021
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.

3 participants