Skip to content

Apostrophe in a url breaks clickable link creation #9031

@Gorrrg

Description

@Gorrrg

Description of the Issue

When there's a url that contains an apostrophe, the parsing stops before the apostrophe which creates an incomplete clickable link.

Steps to Reproduce the Issue

  1. Paste a url into a text document, for example https://en.wikipedia.org/wiki/Parkinson's_law
  2. Click the partial link
  3. You will end up at https://en.wikipedia.org/wiki/Parkinson

Expected Behavior

The entire legitimate url should be incorporated into the clickable link

Actual Behavior

Clickable link stops before the apostrophe.

Debug Information

Notepad++ v7.9 (64-bit)
Build time : Sep 22 2020 - 03:19:04
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 2004
OS Build : 19041.572
Current ANSI codepage : 65001
Plugins : JsMapParser.NppPlugin.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NppExport.dll NPPJSONViewer.dll XMLTools.dll

Metadata

Metadata

Assignees

No one assigned

    Labels

    URL parserIssue related to the new URL parser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions