bug fix for <span> and <em> appearing encoded in html