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() {
19443
19443
data.section_stack.pop();
19444
19444
}
19445
19445
}
19446
-
19446
+ if (!data.section_stack) {
19447
+ console.log(data.section_slug, node);
19448
+ }
19447
19449
data.section_stack[data.section_stack.length - 1].push({
19448
19450
slug,
19449
19451
title: title_text,
Original file line number Diff line number Diff line change @@ -18206,7 +18206,9 @@ function linkify_headings() {
18206
18206
data.section_stack.pop();
18207
18207
}
18208
18208
}
18209
-
18209
+ if (!data.section_stack) {
18210
+ console.log(data.section_slug, node);
18211
+ }
18210
18212
data.section_stack[data.section_stack.length - 1].push({
18211
18213
slug,
18212
18214
title: title_text,
Original file line number Diff line number Diff line change @@ -114,7 +114,9 @@ export function linkify_headings(): Transformer {
114
114
data . section_stack . pop ( ) ;
115
115
}
116
116
}
117
-
117
+ if ( ! data . section_stack ) {
118
+ console . log ( data . section_slug , node ) ;
119
+ }
118
120
data . section_stack [ data . section_stack . length - 1 ] . push ( {
119
121
slug,
120
122
title : title_text ,
You can’t perform that action at this time.
0 commit comments