From 1a89c6b18851f446c4842514c93e8b6698ae0b2d Mon Sep 17 00:00:00 2001 From: Asmir Mustafic Date: Mon, 10 Feb 2014 09:00:59 +0100 Subject: tests and html5 standards --- test/HTML5/Serializer/OutputRulesTest.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/HTML5') 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('&\'<>"', '&\'<>"', '&\'<>"'), + array('&\'<>"', '&\'<>"', '&\'<>"'), array('.+#', '.+#', '.+#'), ); } @@ -246,8 +246,9 @@ class OutputRulesTest extends \HTML5\Tests\TestCase { array(false, 'This + is. a < test', 'This + is. a < test', 'This + is. a < test'), array(false, '.+#', '.+#', '.+#'), - array(true, '.+#\'', '.+#'', '.+#''), - array(true, '&".<', '&".<', '&".<'), + array(true, '.+#\'', '.+#\'', '.+#\''), + array(true, '&".<', '&".<', '&".<'), + array(true, '&\'<>"', '&\'<>"', '&\'<>"'), ); } /** -- cgit v1.2.3