File tree Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ for (let l in lines) {
190
190
191
191
// remove TOC from older spec versions, respec will generate a new one
192
192
if ( line . startsWith ( '## Table of Contents' ) ) inTOC = true ;
193
- if ( line . startsWith ( '<!-- /TOC ' ) ) inTOC = false ;
193
+ else if ( line . startsWith ( '# ' ) ) inTOC = false ;
194
194
if ( inTOC ) line = '' ;
195
195
196
196
// special formatting for Definitions section
Original file line number Diff line number Diff line change 3
3
< p > Text for first chapter</ p >
4
4
< section class ="override " id ="conformance "> < h2 > Version 30.0.1</ h2 >
5
5
< p > This is the conformance section</ p >
6
- <!-- /TOC -->
7
6
</ section > </ section > < section > < h1 > Heading 2</ h1 >
8
7
< p > Text for first section</ p >
9
8
< p > < span id ="parameterAllowEmptyValue "> </ span > Broken anchor</ p >
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ This is the conformance section
10
10
11
11
Will be removed
12
12
13
- <!-- /TOC -->
14
-
15
13
## Heading 2
16
14
17
15
Text for first section
You can’t perform that action at this time.
0 commit comments