Nicolas01 / Highlightjs_Integration

A MediaWiki extension to use the client-side syntax highlighter highlight.js
GNU Affero General Public License v3.0
8 stars 3 forks source link

Uncaught SyntaxError: Invalid regular expression: missing / #15

Open pboguslawski opened 11 months ago

pboguslawski commented 11 months ago

Mediawiiki 1.35.13 from Debian 11 with this extension v2.2 (bundled highlight.min.js) throws JS error on browser console

Uncaught SyntaxError: Invalid regular expression: missing /

Maybe this is still not resolved?

Nicolas01 commented 11 months ago

The error message of the issue you mention is a bit different from yours: Uncaught SyntaxError: unterminated regular expression literal This issue seems solved in MW 1.39.x. For MW1.35.x you can try to apply the workaround, but I am not sure it's the same issue.