add: content = content.replace(/<div class="paragraph">([\s\S]+?)<\/div>/g,'$1'); content = content.replace(/<span class="(wikilink|wikiexternallink)">\s*([\s\S]+?)<\/span>/g,'$2'); content = content.replace(/<span class="(bold|italic|strike)">([\s\S]+?)<\/span>/g,'$2'); 
context: WikiEditor.prototype.convertStyleInternal = function(regexp, result, content) {    var type = result[1];    var str = "";    if (type == "span" || type =="div") {        var attributes = this.readAttributes(result[2]);        str += "{style:type=" + type;        if (attributes && attributes["id"]) {            str += "|id=" + attributes["id"] ;        }        if (attributes && attributes["class"]) {            str += "|class=" + attributes["class"] ;        }        if (attributes && attributes["name"]) {            str += "|name=" + attributes["name"] ;        }        if (attributes && attributes["style"]) {            var atts = attributes["style"].split(";");            for (var i=0; i < atts.length ; i++) {                var att = this.trimString(atts[i].substring(0, atts[i].indexOf(":")));                var value = this.trimString(atts[i].substring(atts[i].indexOf(":") + 1 , atts[i].length));                str += "|" + att + "=" + value;            }        }        str += "}";        str += result[3];        str += "{style}";    }    // alert("str = " + str);    return content.replace(regexp, str);}
meta: 6184	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6184/f29deeb74124823188a469c79e8bffa00b36f465/core.js/buggy/xwiki-platform-web/standard/src/main/webapp/wiki_editor_2/plugins/core.js