Feature #42444
closedAllow use of the CSS text-decoration property in text formatting
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-
Files
Updated by Go MAEDA about 1 year 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.
Updated by Go MAEDA 11 days ago
- File 42444.patch 42444.patch added
- Subject changed from Allow "text-decoration: line-through" in inline styles to Support the text-decoration CSS property in Textile and CommonMark Markdown formatters
- Target version set to Candidate for next major release
This patch updates the CommonMark Markdown and Textile formatters to support the CSS text-decoration property.
Updated by Go MAEDA 8 days ago
- Subject changed from Support the text-decoration CSS property in Textile and CommonMark Markdown formatters to Allow use of the CSS text-decoration property in text formatting
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the patch in r24527.