diff options
author | Matt Butcher <[email protected]> | 2014-02-03 08:39:55 -0800 |
---|---|---|
committer | Matt Butcher <[email protected]> | 2014-02-03 08:39:55 -0800 |
commit | 8785fc5775df52dd4a6b63677ebd08f8301ffdcc (patch) | |
tree | 1fdebd0567846d3a612b3fa20ffd48224a1f2d13 /src/HTML5/Parser | |
parent | fbc3c7e214a4bbbc9e88eb574414a91a0faa2176 (diff) | |
parent | c34046f30889823a72fa69e5fa015fdbb1a22929 (diff) |
Merge pull request #24 from goetas/patch-1
Newlines and tabs are allowed inside quoted attributes (HTML5 8.2.4)
Diffstat (limited to 'src/HTML5/Parser')
-rw-r--r-- | src/HTML5/Parser/Tokenizer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTML5/Parser/Tokenizer.php b/src/HTML5/Parser/Tokenizer.php index 1fd1d25..f81f069 100644 --- a/src/HTML5/Parser/Tokenizer.php +++ b/src/HTML5/Parser/Tokenizer.php @@ -460,7 +460,7 @@ class Tokenizer { * The attribute value. */ protected function quotedAttributeValue($quote) { - $stoplist = "\t\n\f" . $quote; + $stoplist = "\f" . $quote; $val = ''; $tok = $this->scanner->current(); while (strspn($tok, $stoplist) == 0 && $tok !== FALSE) { |