diff options
author | Technosophos <[email protected]> | 2013-04-17 14:34:56 -0500 |
---|---|---|
committer | Technosophos <[email protected]> | 2013-04-17 14:34:56 -0500 |
commit | 7ca281ea599de0ae016aada9da9a65da38db9760 (patch) | |
tree | 7d513eb06c758f02dcd102a17ce67692509ff9ed /src/HTML5 | |
parent | 94f597ed847b84fc54d4fc0c2407f97fd679bec5 (diff) |
Added uppercase tests.
Diffstat (limited to 'src/HTML5')
-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. |