projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
masterminds
/
html5
/
src
/
HTML5
/
Parser
/
Tokenizer.php
diff --git
a/vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php
b/vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php
index c42bc3d86ed968f6301adeaca72e2a93f82afe86..1f6868bc04fc086ab15a04cd2a45daa07aaf9008 100644
(file)
--- a/
vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php
+++ b/
vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php
@@
-383,11
+383,8
@@
class Tokenizer
}
$mode = $this->events->startTag($name, $attributes, $selfClose);
}
$mode = $this->events->startTag($name, $attributes, $selfClose);
- // Should we do this? What does this buy that selfClose doesn't?
- if ($selfClose) {
- $this->events->endTag($name);
- } elseif (is_int($mode)) {
- // fprintf(STDOUT, "Event response says move into mode %d for tag %s", $mode, $name);
+
+ if (is_int($mode)) {
$this->setTextMode($mode, $name);
}
$this->setTextMode($mode, $name);
}