|
1 | 1 | error: test output |
2 | | - | |
3 | | -1 | <!DOCTYPE html> |
4 | | - | --------------- info: doctype |
5 | | -2 | <h1>Hello</h1> |
6 | | - | -------------- info: end tag |
7 | | - | | || |
8 | | - | | |note: string |
9 | | - | | note: close start tag |
10 | | - | open start tag |
11 | | -3 | <p attr="value"></p> |
12 | | - | ------- ----- ----- info: end tag |
13 | | - | | | | | |
14 | | - | | | | note: close start tag |
15 | | - | | | note: attribute value |
16 | | - | | attribute name |
17 | | - | open start tag |
18 | | -4 | <p>content</p> |
19 | | - | -------------- info: end tag |
20 | | - | | || |
21 | | - | | |note: string |
22 | | - | | note: close start tag |
23 | | - | open start tag |
24 | | -5 | <!-- A comment --> |
25 | | - | ------------------ info: comment |
26 | | -6 | <h2>Subtitle</h2> |
27 | | - | ----------------- info: end tag |
28 | | - | | || |
29 | | - | | |note: string |
30 | | - | | note: close start tag |
31 | | - | open start tag |
32 | | -7 | <br/> |
33 | | - | ----- note: close start tag (self closing) |
34 | | - | | |
35 | | - | open start tag |
36 | | - | |
| 2 | + | |
| 3 | + 1 | <!DOCTYPE html> |
| 4 | + | --------------- info: doctype |
| 5 | + 2 | <h1>Hello</h1> |
| 6 | + | -------------- info: end tag |
| 7 | + | | || |
| 8 | + | | |note: string |
| 9 | + | | note: close start tag |
| 10 | + | open start tag |
| 11 | + 3 | <p attr="value"></p> |
| 12 | + | ------- ----- ----- info: end tag |
| 13 | + | | | | | |
| 14 | + | | | | note: close start tag |
| 15 | + | | | note: attribute value |
| 16 | + | | attribute name |
| 17 | + | open start tag |
| 18 | + 4 | <p>content</p> |
| 19 | + | -------------- info: end tag |
| 20 | + | | || |
| 21 | + | | |note: string |
| 22 | + | | note: close start tag |
| 23 | + | open start tag |
| 24 | + 5 | <!-- A comment --> |
| 25 | + | ------------------ info: comment |
| 26 | + 6 | <h2>Subtitle</h2> |
| 27 | + | ----------------- info: end tag |
| 28 | + | | || |
| 29 | + | | |note: string |
| 30 | + | | note: close start tag |
| 31 | + | open start tag |
| 32 | + 7 | <br/> |
| 33 | + | ----- note: close start tag (self closing) |
| 34 | + | | |
| 35 | + | open start tag |
| 36 | + 8 | <script>console.log('hello')</script> |
| 37 | + | ------------------------------------- info: end tag |
| 38 | + | | || |
| 39 | + | | |note: string |
| 40 | + | | note: close start tag |
| 41 | + | open start tag |
| 42 | + 9 | <script>nested('<div></div>')</script> |
| 43 | + | -------------------------------------- info: end tag |
| 44 | + | | || | || | |
| 45 | + | | || | || note: string |
| 46 | + | | || | |info: end tag |
| 47 | + | | || | note: close start tag |
| 48 | + | | || open start tag |
| 49 | + | | |note: string |
| 50 | + | | note: close start tag |
| 51 | + | open start tag |
| 52 | +10 | <style>.class { color: red; }</style> |
| 53 | + | ------------------------------------- info: end tag |
| 54 | + | | || |
| 55 | + | | |note: string |
| 56 | + | | note: close start tag |
| 57 | + | open start tag |
| 58 | +11 | <textarea>user input</textarea> |
| 59 | + | ------------------------------- info: end tag |
| 60 | + | | || |
| 61 | + | | |note: string |
| 62 | + | | note: close start tag |
| 63 | + | open start tag |
| 64 | + | |
0 commit comments