# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: C:\Users\obougeois\Documents\NetBeansProjects\hippo-cms-2.22.xx\xinha-resources\src\main\webapp\xinha\modules\GetHtml # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: TransformInnerHTML.js --- TransformInnerHTML.js Base (BASE) +++ TransformInnerHTML.js Locally Modified (Based On LOCAL) @@ -206,8 +206,10 @@ replace(/\s*<\/(li|dd|dt)>(\s*<\/(li|dd|dt)>)+/g, ''). replace(/(][\s\S]*?)(<\/d[dt]>)+/g, '$1'); } - if(Xinha.is_gecko) + if(Xinha.is_gecko) { html = html.replace(/
\n$/, ''); //strip trailing
added by moz + html = html.replace(/\r?\n?/, ''); //strip trailing
added by moz + } //Cleanup redundant whitespace before in IE and Mozilla html = html.replace(/\s*(<\/(li|dd|dt)>)/g, '$1'); if (outputRoot) {