code: 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;");
          }
docs: Escapes strings for HTML.