Skip to content

Conversation

reakaleek
Copy link
Member

@reakaleek reakaleek commented Oct 13, 2025

Changes

  • Add hljs.highlightAuto as fallback if hljs.highlight fails to render because of a non-existing language.
  • Use existing hljs instance in ChatMessage.tsx

Context

hljs.highlight fails if you specify a language that we did not install.

@reakaleek reakaleek requested a review from a team as a code owner October 13, 2025 09:10
@reakaleek reakaleek requested a review from Mpdreamz October 13, 2025 09:10
@reakaleek reakaleek added the fix label Oct 13, 2025
@reakaleek reakaleek changed the title AI answer hljs fallback Fix hljs highlighting in AI answer Oct 13, 2025
@reakaleek reakaleek merged commit 38581b9 into main Oct 13, 2025
22 checks passed
@reakaleek reakaleek deleted the feature/fix-ai-answer-highlighting branch October 13, 2025 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants