|
11 | 11 | "xhtml": ["<span title=\"foo\">"] |
12 | 12 | }, |
13 | 13 |
|
14 | | -{"description": "proper attribute value non-quoting (with <)", |
15 | | - "input": [["StartTag", "http://www.w3.org/1999/xhtml", "span", [{"namespace": null, "name": "title", "value": "foo<bar"}]]], |
16 | | - "expected": ["<span title=foo<bar>"], |
17 | | - "xhtml": ["<span title=\"foo<bar\">"] |
18 | | -}, |
| 14 | +{"description": "proper attribute value non-quoting (with <)", |
| 15 | + "input": [["StartTag", "http://www.w3.org/1999/xhtml", "span", [{"namespace": null, "name": "title", "value": "foo<bar"}]]], |
| 16 | + "expected": ["<span title=foo<bar>"], |
| 17 | + "xhtml": ["<span title=\"foo<bar\">"] |
| 18 | +}, |
19 | 19 |
|
20 | 20 | {"description": "proper attribute value quoting (with =)", |
21 | 21 | "input": [["StartTag", "http://www.w3.org/1999/xhtml", "span", [{"namespace": null, "name": "title", "value": "foo=bar"}]]], |
22 | 22 | "expected": ["<span title=\"foo=bar\">"] |
23 | 23 | }, |
24 | 24 |
|
25 | | -{"description": "proper attribute value quoting (with >)", |
26 | | - "input": [["StartTag", "http://www.w3.org/1999/xhtml", "span", [{"namespace": null, "name": "title", "value": "foo>bar"}]]], |
27 | | - "expected": ["<span title=\"foo>bar\">"] |
28 | | -}, |
| 25 | +{"description": "proper attribute value quoting (with >)", |
| 26 | + "input": [["StartTag", "http://www.w3.org/1999/xhtml", "span", [{"namespace": null, "name": "title", "value": "foo>bar"}]]], |
| 27 | + "expected": ["<span title=\"foo>bar\">"] |
| 28 | +}, |
29 | 29 |
|
30 | 30 | {"description": "proper attribute value quoting (with \")", |
31 | 31 | "input": [["StartTag", "http://www.w3.org/1999/xhtml", "span", [{"namespace": null, "name": "title", "value": "foo\"bar"}]]], |
|
0 commit comments