interpretNumericEntities = function (str) {
    return str.replace(/&#(\d+);/g, function ($0, numberStr) {
        return String.fromCharCode(parseInt(numberStr, 10));
    });
}
Generate an entity tag.

@param {Buffer|string} entity
@return {string}
@private