diff options
author | Sheogorath | 2018-11-07 17:03:45 +0100 |
---|---|---|
committer | Sheogorath | 2018-11-19 18:27:06 +0100 |
commit | 9951b7df7c6523838b413700d51930956c467d6a (patch) | |
tree | cd7e7ad8af1b12fb99403dc96d1fdfb1a7efc480 /public/docs/features.md | |
parent | 4e5e7df4f8ed5b4317ab9205ceb8c2b3231517ad (diff) |
Fix ToC breaking documents with empty h* elements
Right now, the ToC has an undefined variable i that was an index in the
original ToC code. Since the major rewrite in
4fe062085324c50f2cfa062258559cf31858ef5f it's a recursive function
without this index. The variable `i` was wrongly copied into its current
place from the old code.
This patch replaces the variable `i` with the index of the header
element. Fix the undefined variable problem.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions