Fix unicode issue and missing tag in html output.