text_str = etree.tostring(footnote, method='text', encoding='utf-8').strip()
html_str = etree.tostring(footnote, method='html', encoding='utf-8')
yield anchor, text_str, html_str
text_str = etree.tostring(footnote, method='text', encoding='utf-8').strip()
html_str = etree.tostring(footnote, method='html', encoding='utf-8')
yield anchor, text_str, html_str