File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -19432,6 +19432,9 @@ function linkify_headings() {
1943219432 // TODO: check that prev_section[prev_section.length - 1] exists
1943319433 // skipping heading levels can cause problems here
1943419434 // maybe check current level against prev_level to validate?
19435+ if (!data.section_stack) {
19436+ console.log(data.section_slug, node);
19437+ }
1943519438 data.section_stack.push(
1943619439 prev_section[prev_section.length - 1].sections || []
1943719440 );
Original file line number Diff line number Diff line change @@ -18195,6 +18195,9 @@ function linkify_headings() {
1819518195 // TODO: check that prev_section[prev_section.length - 1] exists
1819618196 // skipping heading levels can cause problems here
1819718197 // maybe check current level against prev_level to validate?
18198+ if (!data.section_stack) {
18199+ console.log(data.section_slug, node);
18200+ }
1819818201 data.section_stack.push(
1819918202 prev_section[prev_section.length - 1].sections || []
1820018203 );
Original file line number Diff line number Diff line change @@ -103,6 +103,9 @@ export function linkify_headings(): Transformer {
103103 // TODO: check that prev_section[prev_section.length - 1] exists
104104 // skipping heading levels can cause problems here
105105 // maybe check current level against prev_level to validate?
106+ if ( ! data . section_stack ) {
107+ console . log ( data . section_slug , node ) ;
108+ }
106109 data . section_stack . push (
107110 prev_section [ prev_section . length - 1 ] . sections || [ ]
108111 ) ;
You can’t perform that action at this time.
0 commit comments