Skip to content

Issue with link highlighting in mardown files #25870

Closed

Description

@elirnm
  • VSCode Version: Code 1.11.2 (6eaebe3, 2017-04-13T08:03:11.395Z)
  • OS Version: Windows_NT ia32 6.1.7601
  • Extensions:
Extension Author Version
path-intellisense christian-kohler 1.2.0
gitignore codezombiech 0.5.0
bracket-pair-colorizer CoenraadS 0.10.3
javadebugger donjayamanne 0.1.0
python donjayamanne 0.6.3
LogFileHighlighter emilast 1.1.1
tabsanity jedmao 0.0.9
docomment k--kato 0.0.14
vscode-rust kalitaalexey 0.3.14
csharp ms-vscode 1.9.0
PowerShell ms-vscode 0.12.2
material-icon-theme PKief 2.0.5
better-merge pprice 0.7.0
Ruby rebornix 0.12.1
java redhat 0.2.1
change-case wmaurer 1.0.0

Steps to Reproduce:

  1. Add [good](https://technet.microsoft.com/en-us/library/bb613488(v=vs.85).aspx) to a text file.
  2. Observe that the link is highlighted correctly and loads the correct page when clicked.
  3. Add [bad](https://technet.microsoft.com/en-us/library/bb613488(v=vs.85).aspx) to a markdown file.
  4. Observe that the link stops highlighting after the vs.85 and loads the wrong page when clicked.

The code [this works](https://technet.microsoft.com/en-us/library/bb613488(v=vs.85).aspx) loads the correct link in Github, so it's not invalid markdown (or it's not invalid globally, at least). this works

capture

Activity

  1. added
    bug
    markdown-ext
    help wanted
    languages-basic
    on May 4, 2017
  2. kdmu commented on May 11, 2017

    @kdmu
    Contributor

    It seems link regex is not capturing closing parenthesis as part of url. I'll work on this.

  3. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bughelp wantedlanguages-basicmarkdown-ext

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions