XRENDERING-373: PutFootnotes macro does not work properly inside HTML macro
* minor improvement

(cherry picked from commit a5a9bcafb51341a6fee052f36f026349588086a8)