dist/hawtio-utilities.js
function escapeHtml(str) {
        if (angular.isString(str)) {
            var newStr = "";
            for (var i = 0; i < str.length; i++) {
                var ch = str.charAt(i);
                ch = _escapeHtmlChars[ch] || ch;
                newStr += ch;
            }
            return newStr;
        }
        else {
            return str;
        }
    }
function escapeHtml(str) {
        if (angular.isString(str)) {
            var newStr = "";
            for (var i = 0; i < str.length; i++) {
                var ch = str.charAt(i);
                ch = _escapeHtmlChars[ch] || ch;
                newStr += ch;
            }
            return newStr;
        }
        else {
            return str;
        }
    }
function escapeHtml ( str ) { if ( angular . isString ( str ) ) { var newStr = "" ; for ( var i = 0 ; i < str . length ; i ++ ) { var ch = str . charAt ( i ) ; ch = _escapeHtmlChars [ ch ] || ch ; newStr += ch ; } return newStr ; } else { return str ; } }
static escapeHtml method

@param str
@returns {*}
static escapeHtml method