Defect #29746

Unexpected results with enumeration formatting in Textile

Added by Holger Just 9 months ago. Updated 9 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:-
Resolution: Affected version:

Description

Consider the following textile example:

#{color:red} is a _shorthand syntax_ used to generate valid HTML,
#{color:blue} is *easy* to read and *easy* to write,
# can generate complex pages,
#{color:green} including headers, quotes, lists, tables, and figures.

According to https://txstyle.org/, this is supposed to render as follows:

However, In Redmine, it is rendered as follows:

It seems that our Textile library only support formatting for the whole enumeration and ignores formatting on individual elements.

txstyle.png (43.8 KB) Holger Just, 2018-10-08 16:46

redmine.png (48.3 KB) Holger Just, 2018-10-08 16:48


Related issues

Related to Redmine - Feature #6269: RedCloth 4 support New

History

#1 Updated by Go MAEDA 9 months ago

The feature to style list items was implemented in Redcloth 4.2. We have to update RedColoth to support the syntax.
https://github.com/jgarber/redcloth/commit/1a45c0c34cdc663c144c848f416af682ccee8b01

#2 Updated by Go MAEDA 9 months ago

Also available in: Atom PDF