Commit Graph
4 Commits
Author SHA1 Message Date
dualfroz 1bb05d0606 fix: separate block elements from the inline content before them
An image or link right before a heading or paragraph ended up on the
same line, e.g. `![](a.png)### A`.

Fixes #259
2026-10-02 16:19:40 +02:00
dualfroz 806387f3f6 fix: strip the newline right after the <pre> start tag
Fixes #244
2026-10-02 16:19:40 +02:00
dualfroz f194c36ae3 fix: honor start="0" on ordered lists (#277) 2026-09-07 09:42:24 -04:00
dualfroz 19b1be8421 fix: honor start="0" on ordered lists
The ordered-list numbering used intval() on the "start" attribute inside a
truthiness check, so a valid start="0" was treated as absent and the list
restarted numbering at 1. Detect an explicit numeric start attribute with
is_numeric() instead, so <ol start=\"0\"> renders as 0. 1. ...
2026-09-04 09:09:23 +02:00