Reset footnoteCount variable between text() calls
ambroisemaupate opened this issue · comments
Ambroise Maupate commented
If you are using text()
method multiple times with the same object, variable $this->footnoteCount
is not reset with DefinitionData
array. So it creates an offset between .footnote-ref
actual text and the .footnotes > li
count.
Alex Guichet commented
I just hit this today — goodbye to a chunk of time till I realized what was happening.