File tree 3 files changed +1
-4
lines changed 3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ for (let l in lines) {
203
203
204
204
// remove TOC from older spec versions, respec will generate a new one
205
205
if ( line . startsWith ( '## Table of Contents' ) ) inTOC = true ;
206
- if ( line . startsWith ( '<!-- /TOC ' ) ) inTOC = false ;
206
+ else if ( line . startsWith ( '# ' ) ) inTOC = false ;
207
207
if ( inTOC ) line = '' ;
208
208
209
209
// special formatting for Definitions section
Original file line number Diff line number Diff line change 6
6
< p > Text for first chapter</ p >
7
7
< section class ="override " id ="conformance "> < h2 > Version 30.0.1</ h2 >
8
8
< p > This is the conformance section</ p >
9
- <!-- /TOC -->
10
9
</ section > </ section > < section > < h1 > Heading 2</ h1 >
11
10
< p > Text for first section</ p >
12
11
< p > < span id ="parameterAllowEmptyValue "> </ span > Broken anchor</ p >
Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ Intro headline only needs to start with `## Introduction`.
15
15
16
16
Will be removed
17
17
18
- <!-- /TOC -->
19
-
20
18
## Heading 2
21
19
22
20
Text for first section
You can’t perform that action at this time.
0 commit comments