• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "tests": [
3        {
4            "description": "<button>1</foo>",
5            "input": "<button>1</foo>",
6            "output": [
7                [
8                    "StartTag",
9                    "button",
10                    {}
11                ],
12                [
13                    "Character",
14                    "1"
15                ],
16                [
17                    "EndTag",
18                    "foo"
19                ]
20            ]
21        },
22        {
23            "description": "<foo>1<p>2</foo>",
24            "input": "<foo>1<p>2</foo>",
25            "output": [
26                [
27                    "StartTag",
28                    "foo",
29                    {}
30                ],
31                [
32                    "Character",
33                    "1"
34                ],
35                [
36                    "StartTag",
37                    "p",
38                    {}
39                ],
40                [
41                    "Character",
42                    "2"
43                ],
44                [
45                    "EndTag",
46                    "foo"
47                ]
48            ]
49        },
50        {
51            "description": "<dd>1</foo>",
52            "input": "<dd>1</foo>",
53            "output": [
54                [
55                    "StartTag",
56                    "dd",
57                    {}
58                ],
59                [
60                    "Character",
61                    "1"
62                ],
63                [
64                    "EndTag",
65                    "foo"
66                ]
67            ]
68        },
69        {
70            "description": "<foo>1<dd>2</foo>",
71            "input": "<foo>1<dd>2</foo>",
72            "output": [
73                [
74                    "StartTag",
75                    "foo",
76                    {}
77                ],
78                [
79                    "Character",
80                    "1"
81                ],
82                [
83                    "StartTag",
84                    "dd",
85                    {}
86                ],
87                [
88                    "Character",
89                    "2"
90                ],
91                [
92                    "EndTag",
93                    "foo"
94                ]
95            ]
96        }
97    ]
98}