Translate dashes to underscores in tags.