Fix subsection not being reset to 1 to a new section
This commit is contained in:
parent
70b546bcee
commit
c1608faec0
@ -77,6 +77,7 @@ function render_with_config_path($config_file) {
|
||||
if ($types[$i] == "SECTION") {
|
||||
$tag = "h2";
|
||||
$section_no++;
|
||||
$subsection_no = 0;
|
||||
$number = "$page_no.$section_no.";
|
||||
}
|
||||
if ($types[$i] == "SUBSECTION") {
|
||||
|
Loading…
Reference in New Issue
Block a user