Added semicolon after &# encoded characters.

Without this change, a &# encoded character following by ASCII digits would
be encoded as something strange. For example '192 would be encoded as
&#39192, which is some Chinese character. &#39;192 is the proper encoding.