-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Incorrect Highlighting on Main Codebox #7249
Comments
Looks like it was caused by c5345f5. I can spend some time tomorrow looking into this, but if someone wants to go ahead, please be my guest |
It's rendering correctly for me now too. I'm gonna check the deployments to see when it fixed itself? |
Looks like it started in https://nodejs-abfhxokt0-openjs.vercel.app/en (c5345f5) and fixed itself in https://nodejs-nei5kgypu-openjs.vercel.app/en (52e04b0) |
It seems intermittent. Right now, In Chrome 131, I am experiencing it on https://nodejs.org/en. (Edit 2min later: Not anymore 🤔) It seems like a client-side issue, not server-side tho. |
I don't think so. Look ing at the HTML code, the browser render is matching the HTML shown, probably a Shiki client side issue? |
Could this be caused by Shiki's JavaScript-based parser versus their WebAssembly one? Or could this even be a Shiki-specific bug? FYI that Im making local changes to the index page to re-indent things and keep them tight and nice. |
URL:
https://nodejs.org/en
Browser Name:
Chrome
Browser Version:
131
Operating System:
Linux
How to reproduce the issue:
When visiting the site, the second line of the main codebox has incorrect highlighting. The text is all grey.
This only applies to this tab, not the others.
For comparison, on GFM:
The text was updated successfully, but these errors were encountered: