fixed bug where checking for new NS-style attachment was wiping old-style attachment in HTML output