Project

General

Profile

Actions

Defect #29746

open

Unexpected results with enumeration formatting in Textile

Added by Holger Just about 6 years ago. Updated about 6 years ago.

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

0%

Estimated time:
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.


Files

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

Related issues

Related to Redmine - Feature #6269: RedCloth 4 supportNew

Actions
Actions #1

Updated by Go MAEDA about 6 years 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

Actions #2

Updated by Go MAEDA about 6 years ago

Actions

Also available in: Atom PDF