Opened 11 years ago
Last modified 10 years ago
#11009 closed defect
Bold WikiFormatting leaking outside ticket body — at Version 4
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | 0.12.6 |
Component: | wiki system | Version: | |
Severity: | major | Keywords: | formatter |
Cc: | andrewcmartin@…, Jun Omae | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Having the following text in a ticket will result in all subsequent ticket description, comments, and workflow text to default to a bold font weight. The WikiFormatting should not extend past the scope in which it is started.
*** * ***
Note there is one space on the second line.
I've verified this bug in Trac 0.12.3 and Trac 1.0.1dev-r11320
Now, a demo:
*
*
Change History (4)
comment:1 by , 11 years ago
comment:3 by , 11 years ago
Description: | modified (diff) |
---|
comment:4 by , 11 years ago
Component: | rendering → wiki system |
---|---|
Keywords: | formatter added |
Milestone: | → topic-wikiengine |
Seems like a list item immediately followed by some opening tag is broken. Closing the list flushes all tags including the closing tag corresponding to the opening tag yet to be written. So this also affects e.g. ordered lists and italic text:
1. The list item //The closing tag that should follow this opening tag was flushed out when closing the list
results in:
<ol><li>The list item </em></li></ol></p> <em>The closing tag that should follow this opening tag was flushed out to close the list </p>
This comment does not have any bold WikiFormatting.