Skip to content

Commit

Permalink
fix start value for footnote auto-numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
vendeeglobe committed Jun 14, 2022
1 parent f653fe2 commit 1de1514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formatter/class/wackoformatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ function wacko_callback($things)
// #18 syntax support
if (preg_match('/^\#\d{1,3}$/u', $anchor))
{
$this->auto_fn['count'] = mb_substr($anchor, 1);
$this->auto_fn['count'] = mb_substr($anchor, 1) - 1;
}

// validate and sanitize $anchor
Expand Down

0 comments on commit 1de1514

Please sign in to comment.