File tree Expand file tree Collapse file tree 7 files changed +116
-116
lines changed Expand file tree Collapse file tree 7 files changed +116
-116
lines changed Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ export class Parser {
330330 let count = this . stack . length - pos ;
331331 while ( count -- ) {
332332 // We know the stack has sufficient elements.
333- this . cbs . onclosetag ( this . stack . pop ( ) ! , pos !== 0 ) ;
333+ this . cbs . onclosetag ( this . stack . pop ( ) ! , count !== 0 ) ;
334334 }
335335 } else this . stack . length = pos ;
336336 } else if ( ! this . options . xmlMode && name === "p" ) {
Original file line number Diff line number Diff line change 4848 "event" : " closetag" ,
4949 "startIndex" : 49 ,
5050 "endIndex" : 57 ,
51- "data" : [" script" , true ]
51+ "data" : [" script" , false ]
5252 },
5353 {
5454 "event" : " closetag" ,
Original file line number Diff line number Diff line change 156156 "event" : " closetag" ,
157157 "startIndex" : 83 ,
158158 "endIndex" : 87 ,
159- "data" : [" h3" , true ]
159+ "data" : [" h3" , false ]
160160 },
161161 {
162162 "event" : " closetag" ,
216216 "event" : " closetag" ,
217217 "startIndex" : 104 ,
218218 "endIndex" : 109 ,
219- "data" : [" div" , true ]
219+ "data" : [" div" , false ]
220220 },
221221 {
222222 "event" : " closetag" ,
258258 "event" : " closetag" ,
259259 "startIndex" : 123 ,
260260 "endIndex" : 128 ,
261- "data" : [" div" , true ]
261+ "data" : [" div" , false ]
262262 },
263263 {
264264 "event" : " closetag" ,
276276 "event" : " closetag" ,
277277 "startIndex" : 129 ,
278278 "endIndex" : 136 ,
279- "data" : [" table" , true ]
279+ "data" : [" table" , false ]
280280 },
281281 {
282282 "event" : " closetag" ,
283283 "startIndex" : 137 ,
284284 "endIndex" : 142 ,
285- "data" : [" div" , true ]
285+ "data" : [" div" , false ]
286286 },
287287 {
288288 "event" : " closetag" ,
336336 "event" : " closetag" ,
337337 "startIndex" : 165 ,
338338 "endIndex" : 169 ,
339- "data" : [" h3" , true ]
339+ "data" : [" h3" , false ]
340340 },
341341 {
342342 "event" : " closetag" ,
343343 "startIndex" : 170 ,
344344 "endIndex" : 175 ,
345- "data" : [" div" , true ]
345+ "data" : [" div" , false ]
346346 },
347347 {
348348 "event" : " closetag" ,
349349 "startIndex" : 176 ,
350350 "endIndex" : 180 ,
351- "data" : [" li" , true ]
351+ "data" : [" li" , false ]
352352 },
353353 {
354354 "event" : " closetag" ,
480480 "event" : " closetag" ,
481481 "startIndex" : 231 ,
482482 "endIndex" : 235 ,
483- "data" : [" li" , false ]
483+ "data" : [" li" , true ]
484484 },
485485 {
486486 "event" : " closetag" ,
Original file line number Diff line number Diff line change 3636 "event" : " closetag" ,
3737 "startIndex" : 44 ,
3838 "endIndex" : 52 ,
39- "data" : [" script" , true ]
39+ "data" : [" script" , false ]
4040 },
4141 {
4242 "event" : " closetag" ,
Original file line number Diff line number Diff line change 5454 "event" : " closetag" ,
5555 "startIndex" : 42 ,
5656 "endIndex" : 45 ,
57- "data" : [" b" , true ]
57+ "data" : [" b" , false ]
5858 },
5959 {
6060 "event" : " closetag" ,
9090 "event" : " closetag" ,
9191 "startIndex" : 64 ,
9292 "endIndex" : 67 ,
93- "data" : [" b" , true ]
93+ "data" : [" b" , false ]
9494 },
9595 {
9696 "event" : " closetag" ,
Original file line number Diff line number Diff line change 5454 "event" : " closetag" ,
5555 "startIndex" : 39 ,
5656 "endIndex" : 46 ,
57- "data" : [" title" , true ]
57+ "data" : [" title" , false ]
5858 },
5959 {
6060 "event" : " text" ,
108108 "event" : " closetag" ,
109109 "startIndex" : 81 ,
110110 "endIndex" : 84 ,
111- "data" : [" p" , true ]
111+ "data" : [" p" , false ]
112112 },
113113 {
114114 "event" : " closetag" ,
115115 "startIndex" : 85 ,
116116 "endIndex" : 91 ,
117- "data" : [" body" , true ]
117+ "data" : [" body" , false ]
118118 },
119119 {
120120 "event" : " text" ,
You can’t perform that action at this time.
0 commit comments