fix no htmlentities showing errors in source view