Fix footnotes processing regex and href
Fix to allow empty span,i,a; Add support for picture tag