XRENDERING-373: PutFootnotes macro does not work properly inside HTML macro
* bulletproofing (credit to vmassol)