Fix removeHtmlTag method