From 7ca281ea599de0ae016aada9da9a65da38db9760 Mon Sep 17 00:00:00 2001 From: Technosophos Date: Wed, 17 Apr 2013 14:34:56 -0500 Subject: Added uppercase tests. --- src/HTML5/Parser/Tokenizer.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/HTML5/Parser') 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. -- cgit v1.2.3