Skip to content

Commit

Permalink
Merge pull request #5109 from eclipse-ee4j/mojarra_issue_4281
Browse files Browse the repository at this point in the history
Fix #4281: corrupted component tree when using namespaced HTML elements
  • Loading branch information
arjantijms authored Jun 2, 2022
2 parents 9888599 + 12bd2e2 commit 1e187e8
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 1e187e8

Please sign in to comment.