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