Skip to content

Commit

Permalink
Merge pull request #3 from kuno1/wip/1.0
Browse files Browse the repository at this point in the history
Fix lint error.
  • Loading branch information
fumikito authored Aug 22, 2023
2 parents cbad3e6 + b60ba26 commit bd5b86e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kunoichi/TocGenerator/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function parse_html( $html ) {
continue;
}
list( $match, $level ) = $matches;
if ( $this->ignore_deeper && ( (int) $level > $this->max_depth) ) {
if ( $this->ignore_deeper && ( (int) $level > $this->max_depth ) ) {
continue;
}
$items[] = new Item( $hn );
Expand Down

0 comments on commit bd5b86e

Please sign in to comment.