diff options
Diffstat (limited to 'src/HTML5/Parser/Tokenizer.php')
-rw-r--r-- | src/HTML5/Parser/Tokenizer.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/HTML5/Parser/Tokenizer.php b/src/HTML5/Parser/Tokenizer.php index 834039b..7ea714e 100644 --- a/src/HTML5/Parser/Tokenizer.php +++ b/src/HTML5/Parser/Tokenizer.php @@ -371,6 +371,16 @@ class Tokenizer { return array(); } + protected function attribute() { + $name = $this->scanner->charsUntil("/>= '\"\n\f\t"); + $val = $this->attributeValue(); + return array($name, $value); + } + + protected function attributeValue() { + return ''; + } + /** * Consume malformed markup as if it were a comment. |