-
Notifications
You must be signed in to change notification settings - Fork 719
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set noopener/noreferrer in Markdown links
URLs wrapped in angle brackets like `<http://example.com>` are not processed correctly (see FIXME note in MantisMarkdown::inlineUrlTag()). This is because MantisCoreFormattingPlugin::formatted() applies html_specialchars() first, so the < > are converted to </> and ParseDown never calls the inlineUrlTag() method, resulting in broken links on single-line strings (`<http://example.com>`). On multi-line strings, the angle brackets wrapping the link remain visible (they ought to be removed). Fixes #30791
- Loading branch information
Showing
3 changed files
with
89 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters