Followup PR for #431 : we were not regenerating postfixes for footnotes at all, now we are regenerating them too much, causing the reference to not match the definition.
Because that issue was too stupid to happen again, I added a test to check three things:
for a footnote, the reference id matches the definition id;
on a complete content, the second footnote id matches the first;
but when two separate calls are made, the id changes.
Introducing that global variable inside the configuration file should not be a problem with multi-instances, because everything is kept separately (I checked it).
Followup PR for #431 : we were not regenerating postfixes for footnotes at all, now we are regenerating them too much, causing the reference to not match the definition.
Because that issue was too stupid to happen again, I added a test to check three things:
Introducing that global variable inside the configuration file should not be a problem with multi-instances, because everything is kept separately (I checked it).