Fix html escaping on terms imports fix #17430