rem:  if ("hasColorInfo" in data) { var newClass = calcClass(data); if (newClass) { var newTag = document.createElementNS(NS_XHTML, "html:span"); newTag.setAttribute("class", newClass); newTag.appendChild(textNode); containerTag.appendChild(newTag); } else { delete data.hasColorInfo; containerTag.appendChild(textNode); }  var wbr = document.createElementNS(NS_XHTML, "html:wbr"); containerTag.appendChild(wbr); } else { containerTag.appendChild(textNode); } 
add: containerTag.appendChild(textNode); 
context: function insertText(text, containerTag, data){    var textNode = document.createTextNode(text);    if ("hasColorInfo" in data)    {        var newClass = calcClass(data);        if (newClass)        {            var newTag = document.createElementNS(NS_XHTML, "html:span");            newTag.setAttribute("class", newClass);            newTag.appendChild(textNode);            containerTag.appendChild(newTag);        }        else        {            delete data.hasColorInfo;            containerTag.appendChild(textNode);        }        var wbr = document.createElementNS(NS_XHTML, "html:wbr");        containerTag.appendChild(wbr);    }    else    {        containerTag.appendChild(textNode);    }}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1622/60766c282adec59e27300b3e7be86c223708e264/munger.js/buggy/xul/lib/munger.js