diff options
author | Matt Butcher <[email protected]> | 2013-07-23 13:15:19 -0700 |
---|---|---|
committer | Matt Butcher <[email protected]> | 2013-07-23 13:15:19 -0700 |
commit | 2efd0c6052bf1492d3953d442c46e5ab9e45888a (patch) | |
tree | b1287325e4d03df887753b67f0725a777a4b05af /src | |
parent | 6453ad37f5e2dde8bbf911fec6e56eed510fd3d6 (diff) | |
parent | 86e93a1137132a2e3f0899a2ae4e4a1436c5cbf1 (diff) |
Merge pull request #9 from ngreduce/master
Unnecessary $this->scanner->next() call when self-closing tag found
Diffstat (limited to 'src')
-rw-r--r-- | src/HTML5/Parser/Tokenizer.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/HTML5/Parser/Tokenizer.php b/src/HTML5/Parser/Tokenizer.php index 9d8c39b..7d6fd68 100644 --- a/src/HTML5/Parser/Tokenizer.php +++ b/src/HTML5/Parser/Tokenizer.php @@ -357,7 +357,6 @@ class Tokenizer { $this->scanner->whitespace(); if ($this->scanner->current() == '>') { $selfClose = TRUE; - $this->scanner->next(); return TRUE; } if ($this->scanner->current() === FALSE) { |