fix double htmlencoding in adv editor