Fix HTML entity unescaping