Skip to content

highlighting and executing http link not ignoring trailing (closing) bracket #5029

@jannick0

Description

@jannick0

Description of the Issue

  • When parsing a http links a trailing closing bracket ) is not ignored and highlighted. Moreover, the trailing bracket is passed on to the browser when double-clicking it.
  • Use case: E.g., markdown syntax for web links [ABC](http://www.abc.com) or web references enclosed in brackets.
  • I am not sure if brackets in an URI are required to be matching acc. to the standard.

Steps to Reproduce the Issue

  1. Type [Google](http://www.google.com)
  2. Doube-click on link

Expected Behavior

  • Link highlighed in NPP should not include trailing bracket.
  • Trailing bracket in link passed to browser should be discarded.

Actual Behavior

  • Link highlighed in NPP does include trailing bracket.
  • Trailing bracket in link passed to browser not discarded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions