`?` in a title/URL is not escaped properly
kmaasrud opened this issue · comments
Knut Magnus Aasrud commented
Our escape function does not work because pulldown-cmarks's escape_href
function has an oversight for ?
characters. Additionally, mdBook's TOC helper does not escape URLs at all.
This is easily solved by manually escaping ?
s in our escape_special_chars
function and making sure it's used in our TOC helper.