mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-14 02:31:24 +00:00
Loose lists (blank lines between items) produce <li><p>...</p></li> via markdown-it, causing Element to render list numbers on separate lines from their content. Fix by setting hidden=true on paragraph tokens inside list items before rendering, mirroring what markdown-it already does for tight lists. Closes #60997. Thanks @gucasbrg. Co-Authored-By: Claude claude-opus-4-6 <noreply@anthropic.com> Signed-off-by: Jakub Rusz <jrusz@proton.me>