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

FIX: Fix GitHub onebox syntax highlight #18300

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

xfalcox
Copy link
Member

@xfalcox xfalcox commented Sep 20, 2022

Highlight.js 11 deprecated the feature to highlight HTML blocks while
keeping the HTML structure, which broke our GitHub onebox syntax
highlight.

This patch adds it back by bringing the maintainers code as a plugin.

See highlightjs/highlight.js#2889

Highlight.js 11 deprecated the feature to highlight HTML blocks while
keeping the HTML structure, which broke our GitHub onebox syntax
highlight.

This patch adds it back by bringing the maintainers code as a plugin.

See highlightjs/highlight.js#2889
@SamSaffron
Copy link
Member

Seems urgent @xfalcox so I am merging, but can you follow up tomorrow please with a test so we catch regressions in future.

@SamSaffron SamSaffron merged commit 09cec7d into main Sep 20, 2022
@SamSaffron SamSaffron deleted the highlight-syntax-merge-html-plugin branch September 20, 2022 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants