redesigned text highlighting and format removal