Emiiter#checkEntity fails to recognize entities with digits (e.g., &frac14;)

For example, the following input

```this is a fraction &frac14;```

Will incorrectly generate this output, even though frac14 is one of the safe entities defined in HTML.java
```html
<p>this is a fraction &amp;frac14;</p>
```