HH-48719 escape html entities and ignore some utf symbols