For general-purpose use, it would be interesting to convert more &; strings, perhaps into appropriate unicode characters.
This class is used in IDVI to parse the contents of html: specials. This means IDVI will handle quoted arguments, extra tag attributes, and embedded &; strings.