Cleanup highlighting and emphasis for markers.