Files
DeepTutor/tests/services/partners
Hui 7fdadd76cf fix(partners): render every fenced code block as code in Telegram HTML
The Telegram converter protected code with ```[\w]*\n?([\s\S]*?)```,
so an info string such as c++ left "++" as the first code line, a ~~~
block was formatted as prose ("# setup" lost its hash, __init__ became
bold "init"), and a ```` fence showing a ``` example closed at the inner
fence, leaving an empty <pre> and the example leaking out as text.

Replace fenced blocks line by line first: open on ``` or ~~~ and close
on a bare run of the same character that is at least as long. One-line
```code``` and unclosed fences keep the previous regex handling. The
streaming preview strips fences through the same helper.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 21:09:54 -04:00
..
2026-09-21 02:30:40 +08:00
2026-08-25 02:24:35 +08:00
2026-06-11 20:03:34 +08:00
2026-06-30 22:33:04 +08:00
2026-08-25 02:24:35 +08:00
2026-07-31 00:25:48 +08:00
2026-07-04 15:49:11 +08:00