diff --git a/src/Validate/Context.php b/src/Validate/Context.php index 025e7f19..52da46dc 100644 --- a/src/Validate/Context.php +++ b/src/Validate/Context.php @@ -244,7 +244,7 @@ protected function setAncestorTagNames() $ancestor_tag_names = []; $tag = $this->dom_tag; while (($tag = $tag->parentNode) && !empty($tag->tagName)) { - $ancestor_tag_names[] = mb_strtolower($tag->tagName, 'UTF-8');; + $ancestor_tag_names[] = mb_strtolower($tag->tagName, 'UTF-8'); } $ancestor_tag_names[] = '!doctype'; $this->ancestor_tag_names = $ancestor_tag_names;