remove span tags and relevant styles