I tried to link in a comment to this image:


However, it gets cut off semingly at a pair of underscores surrounded by a similar pair of non-alphanumeric characters:


and is displayed with the remainder in italics, except for the surrounding underscores:

<a href="https://upload.wikimedia.org/wikipedia/commons/8/85/Concorde_Cockpit_-" rel="nofollow">upload.wikimedia.org/wikipedia/commons/8/85/Concorde_Cockpit_-</a><i>geograph.‌​org.uk</i>-_1357498.jpg

This answer by Jeff Atwood from back in 2009 is on the only question I can find easily that isn't closed as a duplicate, but it says that underscores are escaped. This isn't (URI entity) escaping, it's rewriting, and it's breaking perfectly legitimate links, for example in the comments to this answer on Aviation SE.

  • Note that manually escaping the underscores (i.e. https://upload.wikimedia.org/wikipedia/commons/8/85/Concorde_Cockpit_-\_geograph.org.uk\_-_1357498.jpg) fixes the link.
    – Adam Lear StaffMod
    Apr 4, 2014 at 23:06
  • @AnnaLear That might very well qualify as a workaround, but certainly not as a fix; and if I, who have been pretty much of a regular on Stack Exchange for the last three and a half years at least, didn't think to try that, then relative newcomers certainly can't be expected to know about such a trick. I still feel this issue needs some sort of proper fix.
    – user
    Apr 5, 2014 at 12:05


You must log in to answer this question.

Browse other questions tagged .