File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ $document->documentElement->textContent = "quote 'test'";
5555var_dump ($ document ->documentElement ->textContent );
5656var_dump ($ document ->saveHTML ());
5757?>
58- --EXPECT --
58+ --EXPECTF --
5959-- Attribute tests --
6060string(38) "<element attribute="value"></element>
6161"
@@ -67,10 +67,10 @@ string(13) "hello & world"
6767string(50) "<element attribute="hello & world"></element>
6868"
6969string(9) "<b>hi</b>"
70- string(54 ) "<element attribute="<b>hi</b>"></element>
70+ string(%d ) "<element attribute=%r( "<b>hi<\ /b>"|"<b>hi<\/b>")%r ></element>
7171"
7272string(12) "quote "test""
73- string(45 ) "<element attribute='quote "test"'></element>
73+ string(%d ) "<element attribute=%r( 'quote "test"'|"quote "test"")%r ></element>
7474"
7575string(12) "quote 'test'"
7676string(45) "<element attribute="quote 'test'"></element>
You can’t perform that action at this time.
0 commit comments