diff options
author | Christophe Coevoet <[email protected]> | 2018-11-24 20:55:34 +0100 |
---|---|---|
committer | Christophe Coevoet <[email protected]> | 2018-11-26 12:33:58 +0100 |
commit | 1e58def01d8ef2ee773a989b7f738f232088a674 (patch) | |
tree | b6758be785e89b228861569eb7627451801a5cfc /src | |
parent | 4c337c89096d9acb798f68201d2b124860d1616e (diff) |
Remove useless condition for the parsing of cdata
The caller already ensures that the current token is the right one.
Diffstat (limited to 'src')
-rw-r--r-- | src/HTML5/Parser/Tokenizer.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/HTML5/Parser/Tokenizer.php b/src/HTML5/Parser/Tokenizer.php index bba6ff2..9f3d7bd 100644 --- a/src/HTML5/Parser/Tokenizer.php +++ b/src/HTML5/Parser/Tokenizer.php @@ -865,9 +865,6 @@ class Tokenizer */ protected function cdataSection() { - if ('[' != $this->scanner->current()) { - return false; - } $cdata = ''; $this->scanner->consume(); |