rem: str = str.replace(/<\/?span\s*([^>]*)>/gi, ""); 
add: str = str.replace(/<span class="wikilink">\s*([\s\S]+?)<\/span>/g,'$1'); str = str.replace(/<span class="wikiexternallink">\s*([\s\S]+?)<\/span>/g,'$1'); 
context: WikiEditor.prototype.removeSpecialHtmlTags = function(str) {    str = str.replace(/<div class="paragraph">([\s\S]+?)<\/div>/g,'$1');    str = str.replace(/<p class="paragraph">\s*([\s\S]+?)<\/p>/g,'$1');    str = str.replace(/<\/?span\s*([^>]*)>/gi, "");    str = str.replace(/<\/?p[^>]*>/gi, "");    str = str.replace(/<br \/>/g, '\r\n')    return str;}
meta: 6184	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6184/99c4378ba78bef1f5ed4ec3e57a795da561a9024/core.js/buggy/xwiki-platform-web/standard/src/main/webapp/wiki_editor_2/plugins/core.js