editor icon indicating copy to clipboard operation
editor copied to clipboard

[BUG] editor adds \ before link query parameters

Open shaipetel opened this issue 1 year ago • 0 comments

  • [x] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • [x] I have read the documentation and cannot find an answer.

Describe the bug

Links with query string: https://www.youtube.com/watch?v=YGjjxOVw0dQ&t=4s Are replaced with this: https://www.youtube.com/watch?v=YGjjxOVw0dQ\&t=4s

Reproduction Use the public live demo editor

To Reproduce Insert a link to a page with query string. example:

Link to [youtube](https://www.youtube.com/watch?v=YGjjxOVw0dQ&t=4s)

or just use the editor to insert a link to this url: https://www.youtube.com/watch?v=YGjjxOVw0dQ&t=4s

Switch between viewer to source, when you view source - you will see the \ was added to the link, breaking the query string.

Expected behavior Links query string should not break.

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Edge

shaipetel avatar Jul 23 '24 16:07 shaipetel