rem: span.appendChild (document.createElementNS (NS_XHTML, HTML_BR)); 
add: span.appendChild (htmlBR()); 
context:     function stringToMsg (message)    {        var ary  = message.split("\n");        var span = document.createElementNS (NS_XHTML, HTML_SPAN);        for (var l in ary)        {            var wordParts =                 splitLongWord (ary[l], console.prefs["output.wordbreak.length"]);            for (var i in wordParts)            {                span.appendChild (document.createTextNode (wordParts[i]));                var img = document.createElementNS (NS_XHTML, HTML_IMG);                span.appendChild (img);            }                                span.appendChild (document.createElementNS (NS_XHTML, HTML_BR));        }        return span;    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b759c6565b0458b20ba93a0f48704e97f161bed1/venkman-static.js/buggy/extensions/venkman/resources/content/venkman-static.js