Defect #1334

Wiki formatting character *_ and _*

Added by James Byrne 89 days ago. Updated 89 days ago.

Status:New Start:2008-05-30
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Wiki
Target version:0.8
Affected version:

0.7.1

Resolution:


Description

The wiki formatter enforces a non-obvious dependency on strong '*' and emphasis '_' tags. Specifically, emphasis tag characters must be contained within strong tag characters. Thus This Text is Bold Italic; but *This text has '*' Italicized as Well* .

Making this worse is that Redmine 0.7, when importing from Trac (which uses various numbers of ' to accomplish the same thing), substitutes "_*text*_" for " '''''text''''' " when the equivalent in Redmine should be text. Lastly, Redmine does not properly parse text formatting that is enclosed in any adjacent characters without a whitespace separator: (This is Not Formatted) ( but this is ).

I suggest that the dependency be removed and that '_*x*_' display the same as '*_x_*'. I have mixed feelings about whether or not formatting tags should require whitespace separation from surrounding text.

Finally, I cannot get a preview of this submission, all I see is a frame with the word Preview in the upper left corner; much like a html fieldset legend with empty contents.

History

2008-05-30 22:30 - James Byrne

Actually, what the Trac import routine does is output this:

'''''text''''' becomes *text*

2008-05-30 22:31 - James Byrne

Let me try that again.

'''''text''''' becomes '_*text_*'

Also available in: Atom PDF