X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_htmleditor_TidyWriter.js.html;fp=docs%2Fsrc%2FRoo_htmleditor_TidyWriter.js.html;h=16d42bb90b3d4aa51a6f58e3276536b1f3ec392d;hp=3dd67335ea48212b811ef7bb98a3a534966e9c86;hb=47c96bffe20aebba2f6d3d95a6428931e0b3a2da;hpb=fc82bff3902f6b9018e9efb96c6ea168fb4f5d7a diff --git a/docs/src/Roo_htmleditor_TidyWriter.js.html b/docs/src/Roo_htmleditor_TidyWriter.js.html index 3dd67335ea..16d42bb90b 100644 --- a/docs/src/Roo_htmleditor_TidyWriter.js.html +++ b/docs/src/Roo_htmleditor_TidyWriter.js.html @@ -186,12 +186,14 @@ * @param {String} text String to write out. * @param {Boolean} raw Optional raw state if true the contents wont get encoded. */ - text: function(text, node) + text: function(in_text, node) { // if not in whitespace critical - if (text.length < 1) { + if (in_text.length < 1) { return; } + var text = new XMLSerializer().serializeToString(document.createTextNode(in_text)); // escape it properly? + if (this.in_pre) { this.html[this.html.length] = text; return;