14

When reading this question, I noticed a link that is not a link:

Not a link

However, the link does get rendered correctly in the edit mode preview:

Edit mode preview

This seems to indicate two problems:

  1. Quoted links don't get converted to hyperlinks correctly
  2. The edit mode preview doesn't provide an accurate impression of how the post will render

Can someone please fix both of these problems? Thank you.

Here's a test to see if it happens on "https://meta.stackoverflow.com"

11
  • 3
    Quoted text was meant to turn into a hyperlink??
    – Makoto
    Feb 19, 2021 at 20:00
  • 4
    Oh, I see what you're saying. Just because the text is in a quote it shouldn't prevent that from parsing the vanilla link.
    – Makoto
    Feb 19, 2021 at 20:10
  • You can always force a bare link by surrounding it with < >: "<https://meta.stackoverflow.com>". Feb 19, 2021 at 22:55
  • @SebastianSimon - What does that have to do with my bug report? Feb 19, 2021 at 23:07
  • Since people are upvoting Makoto's "Quoted text was meant to turn into a hyperlink??" it sounds like they're not the only one who misunderstood in that way. I thought my bug report was clear because it always says "quoted links" and never says "quoted text." If people are interpreting my bug report to be suggesting that any text in quotes should be turned into a hyperlink, can you tell me how to word this more clearly? Feb 19, 2021 at 23:09
  • @KyleDelaney It’s a workaround. Feb 20, 2021 at 0:13
  • Isn't, in general, the whole point of quoting to prevent interpretation? What is the point of enclosing a link in quotes anyway? I definitely agree your second point is a bug though.
    – Nick
    Feb 20, 2021 at 0:53
  • The disparity between the local and remote Markdown parsers is known, documented and frankly hilarious. The real question ought to be what the expected behavior is.
    – BoltClock
    Feb 20, 2021 at 8:14
  • @Nick - I have no idea why that SO user decided to enclose the link in quotes, but it seems like it's just a language thing. It was a link that was meant to be opened in a browser and not an API endpoint or anything, so it certainly seemed like it should be a hyperlink. I don't think we can assume that in general the whole point of quoting is to prevent interpretation. I use backticks when I want to show that a URL is not meant to be opened in a browser. Feb 22, 2021 at 18:34
  • 1
    @BoltClock - I'm very curious about this. Why is there a local and a remote Markdown parser? If the disparity is documented, can you link to it? I would think that a good solution to problem #2 is to have both cases use the same Markdown parser. Feb 22, 2021 at 18:38
  • 3

0

You must log in to answer this question.

Browse other questions tagged .