Project

General

Profile

Actions

Feature #42444

open

Allow "text-decoration: line-through" in inline styles

Added by Sergio Fukaya 12 days ago. Updated 7 days ago.

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

0%

Estimated time:
Resolution:

Description

Redmine Editor does not support CSS style "text-decoration: line-through".

I believe that the problem is due to the regex in https://github.com/redmine/redmine/blob/17a77c2776a34d19ec7a628a920f0cf8c394e611/lib/redmine/wiki_formatting/textile/redcloth3.rb#L513 that doesn't accept dash characters in the CSS style value.

I need to use "text-decoration: line-through" because I cannot use the textile notation -text- when the text has a URL a with a dash character on it.

Example using the textile notation with URL "https://www.example.com/commits/-/102321/notice":
My repository/102321/notice-

Actions #1

Updated by Go MAEDA 7 days ago

  • Tracker changed from Defect to Feature
  • Subject changed from CSS style "text-decoration: line-through" not supported to Allow "text-decoration: line-through" in inline styles
  • Affected version deleted (4.2.2)

Since this is a feature request rather than a defect, I have changed the tracker and the subject.

Actions

Also available in: Atom PDF