← All changes
|
vendor/masterminds/html5/src/HTML5/Parser/TreeBuildingRules.php
+2
-2
3.0.3
→
3.2.90
View file →
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -namespace WindPressPackages\Masterminds\HTML5\Parser; | |
| 3 | +namespace WindPressDeps\Masterminds\HTML5\Parser; | |
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Handles special-case rules for the DOM tree builder. |
| 7 | 7 | * |
| @@ -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 | } |