site/examples/todo/js/lib/canjs/can.jquery.js
function (content) {
            // Convert bad values into empty strings
            var isInvalid = content === null || content === undefined || (isNaN(content) && ("" + content === 'NaN'));
            return ("" + (isInvalid ? '' : content)).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(strQuote, '&#34;').replace(strSingleQuote, "&#39;");
        }
function (content) {
            // Convert bad values into empty strings
            var isInvalid = content === null || content === undefined || (isNaN(content) && ("" + content === 'NaN'));
            return ("" + (isInvalid ? '' : content)).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(strQuote, '&#34;').replace(strSingleQuote, "&#39;");
        }
function ( content ) { // Convert bad values into empty strings var isInvalid = content === null || content === undefined || ( isNaN ( content ) && ( "" + content === 'NaN' ) ) ; return ( "" + ( isInvalid ? '' : content ) ) . replace ( / & / g , '&amp;' ) . replace ( / < / g , '&lt;' ) . replace ( / > / g , '&gt;' ) . replace ( strQuote , '&#34;' ) . replace ( strSingleQuote , "&#39;" ) ; }
Escapes strings for HTML.
Escapes strings for HTML .