mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-20 13:52:33 +03:00
21 lines
548 B
Plaintext
21 lines
548 B
Plaintext
|
{"tests": [
|
||
|
|
||
|
{"description":"CR in double-quoted attribute value",
|
||
|
"input":"<foo bar=\"\r\u2022xyz\"",
|
||
|
"output":[["StartTag", "foo", {"bar":"\n\u2022xyz"}]]},
|
||
|
|
||
|
{"description":"CR in single-quoted attribute value",
|
||
|
"input":"<foo bar='\r\u2022xyz'",
|
||
|
"output":[["StartTag", "foo", {"bar":"\n\u2022xyz"}]]},
|
||
|
|
||
|
{"description":"CR in comment",
|
||
|
"input":"<!--\r\u2022xyz-->",
|
||
|
"output":[["Comment", "\n\u2022xyz"]]},
|
||
|
|
||
|
{"description":"CR in CDATA section",
|
||
|
"processCDATA":true,
|
||
|
"input":"<![CDATA[\r\u2022xyz]]>",
|
||
|
"output":[["Character", "\n\u2022xyz"]]},
|
||
|
|
||
|
]}
|