← All changes
|
vendor/masterminds/html5/src/HTML5/Parser/TreeBuildingRules.php
+1
-1
3.0.14
→
3.2.89
View file →
| @@ -72,9 +72,9 @@ | ||
| 72 | 72 | return $this->closeIfCurrentMatches($ele, $current, array('rt', 'rp')); |
| 73 | 73 | } |
| 74 | 74 | protected function closeIfCurrentMatches($ele, $current, $match) |
| 75 | 75 | { |
| 76 | - if (\in_array($current->tagName, $match, \true)) { | |
| 76 | + if (in_array($current->tagName, $match, \true)) { | |
| 77 | 77 | $current->parentNode->appendChild($ele); |
| 78 | 78 | } else { |
| 79 | 79 | $current->appendChild($ele); |
| 80 | 80 | } |