julia
562474cb - Markdown: stop percent-encoding `%` in link and image URLs (#65168)

Commit
16 hours ago
Markdown: stop percent-encoding `%` in link and image URLs (#65168) `encode_uri_component` did not list `%` among the characters it leaves alone, so an existing escape such as `%20` in a link, image or autolink destination was encoded a second time and became `%2520`. This was a regression from #60578. Link destinations are expected to be percent encoded already, so `%` is now kept as is, which also makes CommonMark spec example 503 pass. Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>
Parents
Loading