mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
cf191b5525
## Summary - Tagged fenced code blocks (```js ... ```) now emit Telegram's `<pre><code class="language-js">` form instead of leaking the language token into the code body - Untagged fences stay plain `<pre>`; single-line ``` ```code``` ``` fences become inline `<code>` - Fixes #6602 ## Test plan - New vitest cases in `telegram-html.test.ts` (tagged/untagged/inline fences) - Verified standalone via `node --experimental-strip-types`