rem: if (/TD|TH/.test(node.nodeName)) { 
add: if (/^(td|th)$/i.test(node.nodeName)) { 
context:     this._cleanRows = function(rows, container, numcols) {        // now walk through all rows to clean them up        for (var i=0; i < rows.length; i++) {            var row = rows[i];            var doc = this.editor.getInnerDocument();            var newrow = doc.createElement('tr');            if (row.className) {                newrow.className = row.className;            }            for (var node = row.firstChild; node;) {                var nxt = node.nextSibling;                if (/TD|TH/.test(node.nodeName)) {                    this._cleanCell(node);                    newrow.appendChild(node);                };                node = nxt;            };            if (newrow.childNodes.length) {                container.appendChild(newrow);            };        };        // now make sure all rows have the correct length        for (var row = container.firstChild; row; row=row.nextSibling) {            var cellname = row.lastChild.nodeName;            while (row.childNodes.length < numcols) {                var cell = doc.createElement(cellname);                var nbsp = doc.createTextNode('\u00a0');                cell.appendChild(nbsp);                row.appendChild(cell);            };        };    };
meta: 2380	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2380/2d8706428efbec3e2798eaafec7205a7efd24de6/kupubasetools.js/clean/kupu/common/kupubasetools.js