Closed (fixed)
Project:
Extensible BBCode
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
1 Apr 2012 at 14:18 UTC
Updated:
15 Apr 2012 at 14:31 UTC
Jump to comment: Most recent file
The following input is invalid.
[i]Emphasized and [b]strongly[/i] emphasized text.[/b]
As the parser uses a strict model (rather than guessing), it will be rendered as the following.
Emphasized and [b]strongly emphasized text.[/b]
However, the following will cause a fatal error:
[b]Strong[/b] and [i]Emphasized and [b]strongly[/i] emphasized text.[/b]
The correctly closed [b] tag in the beginning increments the open-tag counter without decrementing, causing the parser to believe the final [/b] tag is not dangling.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1511288-1-decrement-open-by-name.patch | 462 bytes | cburschka |
Comments
Comment #1
cburschkaHere
Comment #2
cburschkaCommitted to 8.x-1.x and 7.x-1.x