Avoid invalid characters in the publication name.