Files
thephpleague-html-to-markdown/tests
dualfroz 94062cea69 fix: use autolinks for URLs that contain an ampersand
The link text goes through TextConverter, which escapes `&` to `&`,
while the href is the decoded attribute value, so `$href === $text` never
held for a URL with a query string like `?a=1&b=2`. Undo that escaping
before comparing. Only `&amp;` is undone: `<` and `>` cannot appear in an
autolink, so those links keep the inline form.

Fixes #248
2026-10-03 02:27:25 +02:00
..