Partial fix for entities. Only checked vs plain text.