Issue Details (XML | Word | Printable)

Key: XWIKI-333
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Sergiu Dumitriu
Reporter: Robin Fernandes
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XWiki Core

Incorrect rendering of multiple bold items on a single line

Created: 16/Aug/06 13:43   Updated: 02/Jan/07 16:33
Component/s: Editor - Wiki, Wiki features
Affects Version/s: 0.9.840, 0.9.1252, 1.0 B1
Fix Version/s: 1.0 B2

Issue Links:
Duplicate
 

keywords: radeox bold render
Date of First Response: 22/Dec/06 14:34
Resolution Date: 02/Jan/07 16:33


 Description  « Hide
The following wiki text:
    Some bold items: *x*, *y*, *z*

renders:

    Some bold items: <strong class="strong">x</strong>, *y*, <strong class="strong">z</strong>

instead of:

   Some bold items: <strong class="strong">x</strong>, <strong class="strong">y</strong>, <strong class="strong">z</strong>


 All   Comments   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Ludovic Dubost added a comment - 22/Dec/06 14:34
These tasks need to be verified and put in the planning if these are bugs

Vincent Massol added a comment - 24/Dec/06 12:45
Confirmed on XWiki 1.0 Beta 1.

Sergiu Dumitriu added a comment - 01/Jan/07 15:10
It works for italics and strike.
this ~x, ~~y, ~~z~ works
this -x, --y, --z- works

It fails for the _bold_ syntax.
this _x, __y, __z_ fails

It works when mixing the two syntaxes:
this x, _y_, z works


Sergiu Dumitriu added a comment - 01/Jan/07 15:13
It works for italics and strike.
this ~~x~~, ~~y~~, ~~z~~ works
this --x--, --y--, --z-- works

It fails for the bold syntax.

this __x__, __y__, __z__ fails

It works when mixing the two syntaxes:

this *x*, __y__, *z* works

It works if there are other character inbetween:

 Some bold items: *x*, moving a bit farther, *y*, and again: *z*, now it works!

Sergiu Dumitriu added a comment - 02/Jan/07 14:03
I found the problem. The match pattern for the strong filter consumes all the space surrounding the word, thus preventing the next group to be correctly found.