From 7391bf95ef8c8d52a19d9be9c33cd6445acd60e1 Mon Sep 17 00:00:00 2001 From: yeasy Date: Thu, 23 Jul 2026 22:57:35 -0700 Subject: [PATCH] fix(html-reader): stop pandoc from collapsing bold-lead-in lists into a paragraph MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The book style writes a bold label then a list with no blank line between them: **触发分离的条件**: - 输入序列长度 > 某阈值 Strict CommonMark (pandoc default -f markdown) requires a blank line before a list, so it folded every such list into a single

. Measured 640 occurrences across 13 books — troubleshooting checklists and diagnostic steps shipped in the offline HTML reader as run-on paragraphs, while GitBook, GitHub, and the PDF all rendered them correctly. The source was fine; only this reader was wrong. Fix is the additive pandoc extension markdown+lists_without_preceding_blankline, verified on real book content through real pandoc: the three bullets that previously joined into one

now produce