Skip to content

fix: keep syntax highlighting in code frames - #11705

Merged
sheremet-va merged 1 commit into
mainfrom
fix/code-frame-highlight
Oct 23, 2026
Merged

sheremet-va merged 1 commit into
mainfrom
fix/code-frame-highlight

Conversation

@sheremet-va

Copy link
Copy Markdown
Member

truncateString stripped ANSI colors even when the line fit, so code frames lost syntax highlighting (regressed in #10170).

@netlify

netlify Bot commented Oct 23, 2026

Copy link
Copy Markdown

✅ Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit 9df4bb2
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6adaee7d87744aabf3a606c2
😎 Deploy Preview https://deploy-preview-11705--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@sheremet-va
sheremet-va merged commit d39f515 into main Oct 23, 2026
29 of 31 checks passed
@sheremet-va
sheremet-va deleted the fix/code-frame-highlight branch October 23, 2026 09:00
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants