Skip to content

Markdown preview urlencode link get arguments #60525

@corretge

Description

@corretge

Markdown preview urlencode link get arguments then broken links when pasting in a rich text document.

  • VSCode Version: Version 1.28.0 431ef9d 2018-10-04T16:33:34.831Z
  • OS Version: macOS Mojave 10.14 (18A391)

Steps to Reproduce:

  1. Create a Markdown document with a link with parameters, i.e.:
[Test](https://foo.com/bar?foo=1&bar=2)
  1. Copy the preview link
  2. Paste in a rich text document (in example mac Notes)
  3. Follow the link, is broken.

If you follow the link from the preview, it works, but if you follow the link from the rich text you get

https://foo.com/bar?foo%3D1%26bar%3D2

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesmarkdownMarkdown support issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions