This project has moved and is read-only. For the latest updates, please go here.
4
Vote

HtmlEntity.DeEntitize throws KeyNotFoundException if there is an & in the text

description

Supposedly this is the fix...

Modified line 774 of HtmlEntity.cs to check for key in dictionary:

string entity = _entityName.ContainsKey(code)
                ? _entityName[code] as string
                : null;

comments