Clean up svg source content