Fix "Too many characters in expanded entities".