public function OutputRulesTest::getEncData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Serializer/OutputRulesTest.php \Masterminds\HTML5\Tests\Serializer\OutputRulesTest::getEncData()
File
- vendor/masterminds/html5/test/HTML5/Serializer/OutputRulesTest.php, line 376
Class
- OutputRulesTest
Namespace
Masterminds\HTML5\Tests\Serializer
Code
public function getEncData() {
return array(
array(
false,
'&\'<>"',
'&\'<>"',
'&'<>"',
),
array(
false,
'This + is. a < test',
'This + is. a < test',
'This + is. a < test',
),
array(
false,
'.+#',
'.+#',
'.+#',
),
array(
true,
'.+#\'',
'.+#\'',
'.+#'',
),
array(
true,
'&".<',
'&".<',
'&".<',
),
array(
true,
'&\'<>"',
'&\'<>"',
'&'<>"',
),
array(
true,
" \"'",
' "\'',
' "'',
),
);
}