File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -19443,7 +19443,9 @@ function linkify_headings() {
1944319443 data.section_stack.pop();
1944419444 }
1944519445 }
19446-
19446+ if (!data.section_stack) {
19447+ console.log(data.section_slug, node);
19448+ }
1944719449 data.section_stack[data.section_stack.length - 1].push({
1944819450 slug,
1944919451 title: title_text,
Original file line number Diff line number Diff line change @@ -18206,7 +18206,9 @@ function linkify_headings() {
1820618206 data.section_stack.pop();
1820718207 }
1820818208 }
18209-
18209+ if (!data.section_stack) {
18210+ console.log(data.section_slug, node);
18211+ }
1821018212 data.section_stack[data.section_stack.length - 1].push({
1821118213 slug,
1821218214 title: title_text,
Original file line number Diff line number Diff line change @@ -114,7 +114,9 @@ export function linkify_headings(): Transformer {
114114 data . section_stack . pop ( ) ;
115115 }
116116 }
117-
117+ if ( ! data . section_stack ) {
118+ console . log ( data . section_slug , node ) ;
119+ }
118120 data . section_stack [ data . section_stack . length - 1 ] . push ( {
119121 slug,
120122 title : title_text ,
You can’t perform that action at this time.
0 commit comments