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

HtmlEntity.DeEntitize method doesn't process unterminated numeric entities

description

HtmlEntity.DeEntitize method doesn't process unterminated numeric entities.
  • Fails to decode Long UTF-8 Unicode encoding without semicolons.
  • Fails to decode Hex encoding without semicolons.
Attached is patched version 1.4.6 code demonstrating defects and proposed solution. Code uses Debug.Assert to display failed test cases. Just hit the ignore button to continue with tests.

file attachments

comments