upstream
a82cc3b9b6
Upstream thephpleague/html-to-markdown state of the touched files before f345fb4bc5
2026-10-03 02:27:25 +02:00
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`.
Fixes #259
2026-10-02 16:19:40 +02:00
upstream
6b7a074e8d
Upstream thephpleague/html-to-markdown state of the touched files before 7af7830eab
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
upstream
710bc5b8ca
Upstream thephpleague/html-to-markdown state of the touched files before e793ef24d6
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
upstream
12911d68c6
Upstream thephpleague/html-to-markdown state of the touched files before 1cce345706
2026-09-07 15:42:24 +02: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
upstream
e017c9ceda
Upstream thephpleague/html-to-markdown state of the touched files before b7d420c301
2026-09-04 09:09:04 +02:00