fix an issue with unclosed <font> tag