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

Core: Fixed type error on null #3057

merged 2 commits into from Oct 1, 2021


Copy link

@RunDevelopment RunDevelopment commented Aug 30, 2021

This fixes #3052.

I fixed the problem by ignoring all matches that cause the problem. I think this is ok because empty tokens at the end of the string don't have any value anyways.

Copy link

@github-actions github-actions bot commented Aug 30, 2021

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +6 B (+0.2%).

file master pull size diff % diff
components/prism-core.min.js 3.08 KB 3.08 KB +6 B +0.2%

Generated by 🚫 dangerJS against 22d5909

tests/core/greedy.js Outdated Show resolved Hide resolved
@RunDevelopment RunDevelopment merged commit a80a68b into PrismJS:master Oct 1, 2021
11 checks passed
@RunDevelopment RunDevelopment deleted the issue3052 branch Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

1 participant