Commit fa911aa
committed
HTML API: Expect closer on foreign content void lookalike elements.
Ensure that expects_closer returns false on tags that look like void HTML tags, but are actually not void tags in foreign content.
Reviewed by westonruter, jorbin.
Merges [59392] to the 6.7 branch.
Props jonsurrell, bernhard-reiter.
Fixes #62363.
git-svn-id: https://develop.svn.wordpress.org/branches/6.7@59694 602fd350-edb4-49c9-b593-d223f7449a821 parent ea3a3e5 commit fa911aa
File tree
2 files changed
+26
-1
lines changed- src/wp-includes/html-api
- tests/phpunit/tests/html-api
2 files changed
+26
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
807 | | - | |
| 807 | + | |
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
564 | 589 | | |
565 | 590 | | |
566 | 591 | | |
| |||
0 commit comments