Skip to content

Commit

Permalink
Update plugin.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoensing committed Apr 12, 2023
1 parent e50b0b1 commit 5b0ac88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ function generate_toc($headings, $attributes)

}
close_list($list, $list_type, $min_depth, $next_depth, $line, count($headings) - 1, $initial_depth, $this_depth);

}

$html = add_accordion_start($html, $attributes, $item_count, $align_class);
Expand All @@ -465,7 +465,7 @@ function generate_toc($headings, $attributes)

$html = add_accordion_end($html, $attributes);

// return an emtpy string if stripped result is empty
// return an emtpy string if stripped result is empty
if (empty(trim(strip_tags($html)))) {
$html = '';
}
Expand Down

0 comments on commit 5b0ac88

Please sign in to comment.