Markdown links getting corrupted in new UI

Michael Taylor 60,161 Reputation points
2023-01-11T17:00:16.8966667+00:00

Markdown links are getting corrupted in the new UI. I am seeing 2 problems (in Edge). For these scenarios assume the following steps:

  1. Put a link indicator in the editor (e.g. [link]())
  2. Copy a URL from somewhere and paste it inside the parens. Note that if you type the URL by hand then it is auto-fixed up to be an actual link (even if you are not previewing).

Now that we have the scenario set up. There are several issues.

  1. Because the posting is unstable I always copy my answer first so Ctrl+A to select all text. You immediately get a popup that has the entire text selected with the URL being...I don't know what. There doesn't seem to be any way around this. It's like it is trying to parse the URL and even though it was valid it is bringing up the UI. So you cannot copy your post anymore.
  2. Select View Markdown to view the markdown. Then go back. The actual URL now has a [ preceding it (e.g. [link]([url). The preview is mangling the URL. You can fix this before posting if you realize it.
  3. Post an answer and then try to edit it again. The URL has been removed from the markdown so this [link](url) shows up as [link] when you edit. You have to restore the URL again.
Community Center Discuss the Q&A site Get started on Q&A
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Richard Hay 1,351 Reputation points Microsoft Employee
    2023-01-11T17:43:41.7+00:00

    Hey Michael - thanks for the feedback. I have taken note of it for a collection I am putting together for the team.

    Appreciate that you took the time to let us know what you were seeing and experiencing.

    Rich

    Community Manager
    Microsoft Q&A

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.