gwendall/way.js

escapeHTML carsh if str is not "string"

Closed this issue · 1 comments

    var escapeHTML = function(str) {
        return str ? str.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;") : str;
    }

Fixed. b64dd69