added application method to remove images from html text