We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following 'comment' token definition is causing an error to be thrown in tokenloop on var match = pattern.exec(str);:
'comment'
tokenloop
var match = pattern.exec(str);
Prism.languages.clike = { 'comment': [ { pattern: /(^|[^\\])\/\*[\w\W]*?\*\//g, lookbehind: true }, { pattern: /(^|[^\\:])\/\/.*?(\r?\n|$)/g, lookbehind: true } ]
The text was updated successfully, but these errors were encountered:
Are you using the autolinker plugin? If so this could be related to #359. I already submitted a PR with a fix for that bug in #360.
Sorry, something went wrong.
That was the issue. Removed the plugin as a workaround. Thanks!
No branches or pull requests
The following
'comment'
token definition is causing an error to be thrown intokenloop
onvar match = pattern.exec(str);
:The text was updated successfully, but these errors were encountered: