I've provided some sample code [above](https://github.com/mozilla/rust/pull/13831/files#r12075107) for how this modified `unescape_entity()` should be called. With that approach, this function is given the string containing just the entity name, without the `&` or `;`, so it will be something like `"apos"` or `"#39"`.