#1616 closed defect (fixed)
Wiki-processor renders bold-italic incorrectly.
| Reported by: | Rede | Owned by: | Christopher Lenz |
|---|---|---|---|
| Priority: | low | Milestone: | 0.9 |
| Component: | wiki system | Version: | devel |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Trac renders incorrectly list of bold-italic entries.
'''''view''''', '''''create''''', '''''modify''''' and '''''admin'''''
Renders as:
One, Two, Three and Four
Attachments (5)
Change History (13)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
Bug was that it closed all tags that were opened (but not closed) after closing tag.
I.e. following produced also faulty output __'''foo__ bar''' renders as : foo bar
Attached proposed patch. It closes only last occurence of open tag, not all tags after closing tag.
comment:3 by , 20 years ago
| Component: | general → ticket system |
|---|---|
| Milestone: | → 0.9 |
| Owner: | changed from to |
| Priority: | normal → low |
| Status: | new → assigned |
Any chance you could provide test cases that verify this functionality?
comment:4 by , 20 years ago
New patch:
Now open tags are closed end of paragraph.
New file:
trac/tests/formatter.py - testcases to run against patch.
by , 20 years ago
| Attachment: | trac-1616-fix-r1756.patch added |
|---|
Patch which contains tests in right place.
comment:6 by , 20 years ago
| Component: | ticket system → wiki |
|---|
comment:8 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Patch applied in [1757]. Thanks!



And of course visible list should have read:
'''''One''''', '''''Two''''', '''''Three''''' and '''''Four'''''But you got the idea.. :)