Files
DeepTutor/tests/reading
Hui 6dd4542a0b fix(reading): close a Markdown fence only on a matching bare run
split_markdown_by_headings remembered only the fence character, so any
line starting with that character toggled the fence. A ```` fence showing
a ``` example closed at the inner ```, and a "```py" line inside a block
also closed it, so "#" lines inside code became outline sections, or the
rest of the document was swallowed and the outline fell back to flat.

Remember the whole opening run and close only on a bare run of the same
character that is at least as long, as CommonMark does. A backtick line
whose info string contains a backtick no longer opens a fence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 20:44:31 -04:00
..
2026-08-19 17:34:52 +08:00
2026-09-24 09:59:56 +08:00
2026-09-24 09:59:56 +08:00
2026-09-24 09:59:56 +08:00