Skip to content

Commit

Permalink
Fix #4281: corrupted component tree when using namespaced HTML elements
Browse files Browse the repository at this point in the history
  • Loading branch information
BalusC committed May 29, 2022
1 parent d31125d commit 12bd2e2
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,14 @@ public void popTag() {
this.finishUnit();
} else {
t.endTag();
if (t.isClosed()) {
this.finishUnit();
}
return;
}
unit = this.currentUnit();
}

unit = this.currentUnit();
if (unit instanceof TagUnit) {
TagUnit t = (TagUnit) unit;
if (t instanceof TrimmedTagUnit) {
Expand Down

0 comments on commit 12bd2e2

Please sign in to comment.