5

In the following question:

The question text stops abruptly, which suggests something is missing:

You could find the code in source code in

If you go to "edit" the question then you can see there is a complete URL following the above text which also appears correctly in the rendered output from the editor.

However, this URL does not appear in the rendered output when viewing the question. It's not in the HTML source. Why not? Is there perhaps a hidden terminating character? Is it a "new user" restriction? Is it a bug?

(I've not tried editing/saving the question text - as I imagine this might resolve the issue.)


As noted by @AndrewT. in comments, the issue seems to be caused by the capital "H" at the start of the URL:

  • All lowercase URL : http://example.com/foo results in http://example.com/foo
  • URL with a capital "H" : Http://example.com/foo results in
  • All uppercase URL : HTTP://EXAMPLE.COM/FOO results in
  • Mixed case URL : hTtp://eXampLE.COM/fOO results in
  • Uppercase URL-path only : http://example.com/FOO results in http://example.com/FOO
  • Lowercase protocol : http://EXAMPLE.COM/FOO results in http://EXAMPLE.COM/FOO
  • Uppercase char in protocol : httP://example.com/foo results in

From these tests, it would seem that the scheme/protocol must be all lowercase to get recognised as a URL by the markdown parser. But this is only when viewing the rendered post; in the editor, the markdown preview shows all the URLs correctly hyperlinked. But the fact that the URL is completely removed from the rendered output would seem like a bug.

2
  • That's a good question. You can see it when previewing the question but the link is removed when you save it. I wonder if a filter of some kind is removing it? We may need to escalate this to the SE staff and see what they have to say.
    – John Conde Mod
    Commented Dec 29, 2018 at 3:00
  • 2
    The issue is with the capital H on Https. Changing it to lowercase 'h' will fix the issue.
    – Andrew T.
    Commented Dec 29, 2018 at 3:38

0

You must log in to answer this question.

Browse other questions tagged .