You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/HTML5/Parser/DOMTreeBuilder.php
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -626,19 +626,18 @@ public function processingInstruction($name, $data = null)
626
626
627
627
/**
628
628
* Apply normalization rules to a tag name.
629
-
*
630
629
* See sections 2.9 and 8.1.2.
631
630
*
632
-
* @param string $name The tag name
631
+
* @param string $tagName
633
632
*
634
-
* @return string the normalized tag name
633
+
* @return string The normalized tag name.
635
634
*/
636
-
protectedfunctionnormalizeTagName($name)
635
+
protectedfunctionnormalizeTagName($tagName)
637
636
{
638
637
/*
639
638
* Section 2.9 suggests that we should not do this. if (strpos($name, ':') !== false) { // We know from the grammar that there must be at least one other // char besides :, since : is not a legal tag start. $parts = explode(':', $name); return array_pop($parts); }
0 commit comments