/tinyMCE.debug(h); while ((i = h.indexOf('\n', i + 1)) != -1) { if ((l = h.substring(li + 1, i)).length != 0) { if (this.ouRe.test(l) && p.length >= s.indent_levels) p = p.substring(s.indent_levels); o += p + l + '\n'; if (this.inRe.test(l)) p += this.inStr; } li = i; } //tinyMCE.debug(h); return o; }, xmlEncode : function(s) { var i, l, e, o = '', c; switch (this.settings.entity_encoding) { case "raw": s = "" + s; s = s.replace(/&/g, '&'); s = s.replace(new RegExp('"', 'g'), '"'); s = s.replace(/\'/g, '''); // ' is not working in MSIE s = s.replace(//g, '>'); return s; case "named": for (i=0, l=s.length; i 127 || c == 60 || c == 62 || c == 38 || c == 39 || c == 34) o += '&#' + c + ";"; else o += String.fromCharCode(c); } return o; } return s; }, split : function(re, s) { var c = s.split(re); var i, l, o = new Array(); for (i=0, l=c.length; i