Add HTML escaping to metadata publishing script.