File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -891,7 +891,7 @@ public function next_token() {
891891 */
892892 $ t = $ this ->html [ $ this ->tag_name_starts_at ];
893893 if (
894- $ this ->is_closing_tag &&
894+ $ this ->is_closing_tag ||
895895 ! (
896896 'i ' === $ t || 'I ' === $ t ||
897897 'n ' === $ t || 'N ' === $ t ||
@@ -911,7 +911,6 @@ public function next_token() {
911911 'IFRAME ' !== $ tag_name &&
912912 'NOEMBED ' !== $ tag_name &&
913913 'NOFRAMES ' !== $ tag_name &&
914- 'NOSCRIPT ' !== $ tag_name &&
915914 'STYLE ' !== $ tag_name &&
916915 'XMP ' !== $ tag_name
917916 ) {
@@ -1635,7 +1634,7 @@ private function parse_next_tag() {
16351634 $ this ->token_length = $ closer_at + 4 - $ this ->token_starts_at ;
16361635 $ this ->text_starts_at = $ this ->token_starts_at + 9 ;
16371636 $ this ->text_length = $ closer_at - $ this ->text_starts_at ;
1638- $ this ->bytes_already_parsed = $ closer_at + 4 ;
1637+ $ this ->bytes_already_parsed = $ closer_at + 3 ;
16391638 return true ;
16401639 }
16411640
You can’t perform that action at this time.
0 commit comments