You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(fix/chore) safer wrapper for IIFE grammar plugins
Resolves#3363.
The `rollup` output format changed out from underneath us which
means that our simple text processing of IIFE output broke and
we were outputting invalid JS for our CDN language builds.
Now we wrap the IIFE inside our own second IIFE and then perform
`hljs.registerLanguage` there. This should be more resilient to
future subtle changes in the output.
0 commit comments