summaryrefslogtreecommitdiff
path: root/test/HTML5
diff options
context:
space:
mode:
authorAsmir Mustafic <[email protected]>2014-02-10 09:00:59 +0100
committerAsmir Mustafic <[email protected]>2014-02-10 09:00:59 +0100
commit1a89c6b18851f446c4842514c93e8b6698ae0b2d (patch)
treeceda3cd0407522a8a6bc27b21bb41915ca9ac5cd /test/HTML5
parent7713a8b8c0fa603732fb442c026d0144347cbd39 (diff)
tests and html5 standards
Diffstat (limited to 'test/HTML5')
-rw-r--r--test/HTML5/Serializer/OutputRulesTest.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/HTML5/Serializer/OutputRulesTest.php b/test/HTML5/Serializer/OutputRulesTest.php
index b37b3b3..f81c0bc 100644
--- a/test/HTML5/Serializer/OutputRulesTest.php
+++ b/test/HTML5/Serializer/OutputRulesTest.php
@@ -236,7 +236,7 @@ class OutputRulesTest extends \HTML5\Tests\TestCase {
}
function getEncDataAttssribute(){
return array(
- array('&\'<>"', '&amp;\'&lt;&gt;"', '&amp;\'&lt;&gt;"'),
+ array('&\'<>"', '&amp;\'<>"', '&amp;\'&lt;&gt;"'),
array('.+#', '.+#', '&period;&plus;&num;'),
);
}
@@ -246,8 +246,9 @@ class OutputRulesTest extends \HTML5\Tests\TestCase {
array(false, 'This + is. a < test', 'This + is. a &lt; test', 'This &plus; is&period; a &lt; test'),
array(false, '.+#', '.+#', '&period;&plus;&num;'),
- array(true, '.+#\'', '.+#&#039;', '&period;&plus;&num;&apos;'),
- array(true, '&".<', '&amp;&quot;.&lt;', '&amp;&quot;&period;&lt;'),
+ array(true, '.+#\'', '.+#\'', '&period;&plus;&num;\''),
+ array(true, '&".<', '&amp;&quot;.<', '&amp;&quot;&period;&lt;'),
+ array(true, '&\'<>"', '&amp;\'<>&quot;', '&amp;\'&lt;&gt;&quot;'),
);
}
/**