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

Revert #1597 - Update to highlight.js 11.0. #1621

Merged
merged 1 commit into from
Aug 2, 2021

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Aug 2, 2021

highlightjs 11 removed what is called "HTML merging". This is a feature we were depending on to handle "boring" lines, which get wrapped with <span class="boring">. HLJS 11 now completely strips HTML out of a code block.

There is discussion at highlightjs/highlight.js#2889 about writing a plugin to add this functionality back in, but I do not understand the plugin API well enough to write that (the current example there does not work). For now, just reverting this change.

Fixes #1619
cc #1622

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hidden lines from file code snippet are rendered
1 participant