Project

General

Profile

Actions

Defect #5045

closed

Errors in formatting of texts.

Added by Mike Stupalov over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
High
Category:
Text formatting
Target version:
-
Start date:
2010-03-11
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

This issue is similar on #3089, but there other category and additional errors are specified.

  • Combination text format not always work.
Summary table:
bold italic underline deleted superscript subscript
bold OK OK ERROR OK OK
italic ERROR OK ERROR OK OK
underline ERROR ERROR ERROR OK OK
deleted ERROR OK OK OK OK
superscript ERROR ERROR ERROR ERROR OK
subscript ERROR ERROR ERROR ERROR ERROR
Display results of combination:
bold + italic OK italic + bold ERROR
bold + underline OK italic + underline OK
bold + deleted ERROR italic + deleted ERROR
bold + superscript OK italic + superscript OK
bold + subscript OK italic + subscript OK
underline + bold ERROR deleted + bold ERROR
underline + italic ERROR deleted + italic OK
underline + deleted ERROR deleted + underline OK
underline + superscript OK deleted + superscript OK
underline + subscript OK deleted + subscript OK
superscript + bold ERROR subscript + bold ERROR
superscript + italic ERROR subscript + italic ERROR
superscript + deleted ERROR subscript + deleted ERROR
superscript + underline ERROR subscript + underline ERROR
superscript + subscript OK subscript + superscript ERROR
  • Use of formatting of the text without blanks does not work.

In the description of format Textile brackets [ ] are for this purpose provided.

example:
te[_st italic te_]xt - "st italic te" should be italic.


Related issues

Is duplicate of Redmine - Defect #3089: Text formatting sometimes breaks when combinedClosed2009-04-01

Actions
Actions #1

Updated by Mike Stupalov over 14 years ago

  • Assignee set to Jean-Philippe Lang
Actions #2

Updated by Mike Stupalov over 14 years ago

May be need integrate RedCloth latest version - 4.2.2?

Actions #3

Updated by Mike Stupalov over 14 years ago

I have tried the code used above on official page RedCloth http://redcloth.org/try-redcloth/ - all combinations there work.

Actions #4

Updated by Jean-Philippe Lang over 14 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Modifiers combinations are fixed in r3561.

In the description of format Textile brackets [ ] are for this purpose provided.

This was not a Redcloth 3 feature and thus, it's not supported by the builtin textile formatter in Redmine.

May be need integrate RedCloth latest version - 4.2.2?

Well, it would be pretty easy to write a plugin that adds a new formatter with the latest RedCloth instead of the Redmine builtin formatter, but you'd lose a few additions like tables of content, quoting or code highlighting.

Actions #5

Updated by Mike Stupalov over 14 years ago

  • Status changed from Closed to Reopened

Many thanks for the corrections.

But there was another problem with the combination format and the brackets:

*(100 - Ksp)/100* /100
* (100 - Ksp) /100* * (100 - Ksp) /100*

And the second question, how much is difficult to add to the current format textile brackets to indicate the format without spaces?

Actions #6

Updated by Jean-Philippe Lang over 14 years ago

  • Status changed from Reopened to Closed

Also reported in #5124.

Actions

Also available in: Atom PDF