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.

CommentFileSizeAuthor
#1 1511288-1-decrement-open-by-name.patch462 bytescburschka

Comments

cburschka’s picture

Status: Active » Needs review
StatusFileSize
new462 bytes

Here

cburschka’s picture

Status: Needs review » Fixed

Committed to 8.x-1.x and 7.x-1.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.