Fix missing empty lines when encountering unsupported languages
Why:
Closes: #4825
What's being changed (if available, include any code snippets, screenshots, or gifs):
A space is added to ::after if the code <span /> is :empty.
Check off the following:
- [x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).
🦋 Changeset detected
Latest commit: 8e5cfec65ec44879c171931040991697f6b03043
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 3 packages
| Name | Type |
|---|---|
| nextra | Patch |
| nextra-theme-blog | Patch |
| nextra-theme-docs | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
@MrWillCom is attempting to deploy a commit to the Vercel Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| nextra-v2 | Preview | Comment | Oct 21, 2025 7:33am |
💡 Enable Vercel Agent with $100 free credit for automated AI reviews