Project

General

Profile

Actions

Feature #42444

closed

Allow use of the CSS text-decoration property in text formatting

Added by Sergio Fukaya about 1 year ago. Updated 8 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Text formatting
Target version:
Resolution:
Fixed

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

42444.patch (3.51 KB) 42444.patch Go MAEDA, 2026-03-21 02:46
Actions

Also available in: Atom PDF