summaryrefslogtreecommitdiff
path: root/test/HTML5/Parser
diff options
context:
space:
mode:
authorMatt Farina <[email protected]>2014-02-11 20:21:34 -0500
committerMatt Farina <[email protected]>2014-02-11 20:21:34 -0500
commite21281f7c1d289d9237a34a906f9fec8195640d1 (patch)
tree186df6952a489e06380172c19a5139a3fc754e91 /test/HTML5/Parser
parent001243d8915bfad8e84c71134dabcbb7a0307bd3 (diff)
parentfe713d549d436b63e8367756f19cb456e60d2ff3 (diff)
Merge pull request #25 from goetas/patch-2
Removed quote conversion to entity inside content
Diffstat (limited to 'test/HTML5/Parser')
-rw-r--r--test/HTML5/Parser/TokenizerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/HTML5/Parser/TokenizerTest.php b/test/HTML5/Parser/TokenizerTest.php
index a55250f..3d100e7 100644
--- a/test/HTML5/Parser/TokenizerTest.php
+++ b/test/HTML5/Parser/TokenizerTest.php
@@ -328,6 +328,7 @@ class TokenizerTest extends \HTML5\Tests\TestCase {
$good = array(
'<foo bar="baz">' => array('foo', array('bar' => 'baz'), FALSE),
'<foo bar=" baz ">' => array('foo', array('bar' => ' baz '), FALSE),
+ "<foo bar=\"\nbaz\n\">" => array('foo', array('bar' => "\nbaz\n"), FALSE),
"<foo bar='baz'>" => array('foo', array('bar' => 'baz'), FALSE),
'<foo bar="A full sentence.">' => array('foo', array('bar' => 'A full sentence.'), FALSE),
"<foo a='1' b=\"2\">" => array('foo', array('a' => '1', 'b' => '2'), FALSE),