lib/tools/util.js
function(text) {
        if (!text || !text.replace) return text
        return text.replace(/(&[#a-zA-Z0-9]+;)/g, function (m, s) {
            return _convertEntity(s)
        })
    }
function(text) {
        if (!text || !text.replace) return text
        return text.replace(/(&[#a-zA-Z0-9]+;)/g, function (m, s) {
            return _convertEntity(s)
        })
    }
Covert HTML entities
@doc http://www.w3school.com.cn/tags/html_ref_entities.html