How can I replace template variable in footnote?
I have variable $var$ in footnote and I trying to replace it by calling $docx->addTemplateVariable('var', 'value');, but it's not working. In output document it stays $var$. However, this method works in body of document.
By the way, this variable is not even appears in list of variables, when I make call $docx->getTemplateVariables().
So, is it a bug? And how can I solve this problem?