4

In the live preview, a raw hyperlink is hyperlinked if it is prefaced with a whitespace or a punctuation character.
In the rendered post, a raw hyperlink is hyperlinked only if prefaced with a whitespace, not a punctuation.

Markdown:

Code:https://github.com/  
Code: https://github.com/  
Code - https://github.com/  
Code!https://github.com/  
Code.https://github.com/  
Codehttps://github.com/

Result:

Code:https://github.com/
Code: https://github.com/
Code - https://github.com/
Code!https://github.com/
Code.https://github.com/
Codehttps://github.com/

Picture of the live preview:

enter image description here

Picture of the rendered post:

enter image description here

4
  • 2
    What's that cursed colon in the first line?
    – Cerbrus
    Commented Mar 13 at 10:02
  • 2
    @Cerbrus It's a Fullwidth Colon/U+FF1A. Commented Mar 13 at 10:02
  • 6
    Looking at the markdown help, Urls should be surrounded by whitespace to be automatically formatted. So, the rendered output is correct. The preview is just a little too eager...
    – Cerbrus
    Commented Mar 13 at 10:06
  • 4
    Gotta say... I'm glad it is just a wonky unicode character and not the image that was invoked in my brain when I read "cursed colon".
    – Gimby
    Commented Mar 13 at 13:03

0

You must log in to answer this question.

Browse other questions tagged .