Skip to content

[Fix] strip URL nodes when parsing Links#6098

Merged
nathanlesage merged 1 commit into
Zettlr:developfrom
benniekiss:link-url-fixes
Jan 10, 2026
Merged

[Fix] strip URL nodes when parsing Links#6098
nathanlesage merged 1 commit into
Zettlr:developfrom
benniekiss:link-url-fixes

Conversation

@benniekiss

Copy link
Copy Markdown
Collaborator

Description

This PR makes sure to also strip out any URL nodes that may end up in the link body.

Closes #6090

Changes

In addition to Link nodes, a filter was added to remove any URL nodes.

Additional information

Tested on:

@nathanlesage nathanlesage merged commit ce56a26 into Zettlr:develop Jan 10, 2026
1 check passed
@benniekiss benniekiss deleted the link-url-fixes branch January 10, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Open Link opens URL-like text from the link label instead of the Markdown link destination.

2 participants