Project

General

Profile

Actions

Feature #39003

closed

Add css class to external links in markdown

Added by Ulf Seltmann about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix

Description

Appearently there is no identifier added to external links when the renderer for wiki and tickets is markdown. Therefore plugins that add the ability to open external links in a new window cannot distinguish external from internal links.

Please modify the markdown filter to add a class "external" to all external links.

refs:

Related issues

Is duplicate of Redmine - Defect #20841: Bare URLs in Markdown don't have "external" classClosed

Actions
Actions #1

Updated by Go MAEDA about 1 year ago

  • Status changed from New to Closed
  • Resolution set to Wont fix

Please use the new "CommonMark Markdown" added in Redmine 5.0.0 (#32424) instead of the old "Markdown" formatter. The former correctly adds the "external" class to external links.

"Markdown" will be removed in the near future (See #36807).

Actions #2

Updated by Go MAEDA about 1 year ago

  • Is duplicate of Defect #20841: Bare URLs in Markdown don't have "external" class added
Actions

Also available in: Atom PDF