SnapshillBot icon indicating copy to clipboard operation
SnapshillBot copied to clipboard

If a URL has spaces in it, the resulting post can come out looking quite strange.

Open justcool393 opened this issue 8 years ago • 1 comments
trafficstars

An example: https://www.reddit.com/r/EnoughTrumpSpam/comments/6h4ehm/man_ravaged_by_amnesia_somehow_able_to_hold_down/divfj9u/
Example Image showing bug

Initial report based on: https://mod.reddit.com/mail/perma/17a45/1yyxq

justcool393 avatar Jun 15 '17 03:06 justcool393

There's no spaces in the URL, it's the parentheses. However, reddit's markdown engine is broken. If we check multiple other markdown rendering engines. The one thing we could do is url encode the (possibly) url encoded url again so reddit might render it correctly, but that could break the archive url.

hidde-jan avatar Mar 19 '18 19:03 hidde-jan