This was only removing color tags before, however neither text component nor line component can correctly handle the other tags anyway, so remove all tags