Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTML API: Correct node name in
generate_implied_end_tags()
.
The `generate_implied_end_tags()` algorithm has been comparing the current node to a list of node names, which means that it won't ever pop any elements from the stack of open elements. This patch corrects the mistake by comparing node name against the list, thus fixing the algorithm. This was noted in development work for the 6.7 release. Developed in WordPress#6988 Discussed in https://core.trac.wordpress.org/ticket/61576 Props dmsnell, jonsurrell. See #61576. git-svn-id: https://develop.svn.wordpress.org/trunk@58702 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information