Clean up markup in localization