bb2bbc6b91
git-svn-id: svn://kolibrios.org@4364 a494cfbc-eb01-0410-851d-a64ba20cac60
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"]]},
|
|
|
|
]}
|