rem: if (!node.nextSibling) return false; 
add: if (!node.nextSibling && parentNode.nodeName.test(/p|div/)) return false; 
context:     this.nodefilters = new function(editor) {        // Strip <br> at end of paragraph.        // Top level <br>: enclose preceding text (if any) in <p> and        // drop the <br>        this['br'] = function(node, parentNode) {            if (parentNode.tagName=='body') {                var p = parentNode.ownerDocument.createElement('p');                if (parentNode.lastChild && parentNode.lastChild.nodeType==3) {                    p.appendChild(parentNode.lastChild);                }                parentNode.appendChild(p);                return false;            }            if (!node.nextSibling) return false;            return true;        };    }
meta: 2380	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2380/462023b3fc358f7efe18ec4bb3f165d6ee228edf/kupucontentfilters.js/buggy/kupu/common/kupucontentfilters.js