Make splitting of tags work properly.