We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6ae3e6 commit 6f54276Copy full SHA for 6f54276
src/Kunoichi/TocGenerator/Parser.php
@@ -92,7 +92,7 @@ public function parse_html( $html ) {
92
continue;
93
}
94
list( $match, $level ) = $matches;
95
- if ( $this->ignore_deeper && ( (int) $level > $this->ignore_deeper ) ) {
+ if ( $this->ignore_deeper && ( (int) $level > $this->max_depth) ) {
96
97
98
$items[] = new Item( $hn );
0 commit comments