diff --git a/render.php b/render.php index 9ec14aa..d29b0a8 100644 --- a/render.php +++ b/render.php @@ -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") {