add: result[1] = result[1].replace(/%20/gi, " "); result[3] = result[3].replace(/%20/gi, " "); 
context: WikiEditor.prototype.convertAttachmentInternal = function(regexp, result, content) {    var str;    if (result[1] == result[3]) str = "{attach:" + result[1] + "}";    else  if ((result[1] == "undefined") || (this.trimString(result[1]) == "")) str = "{attach:" + result[3] + "}";    else str = "{attach:" + result[3] + "|" + result[1] + "}";    return content.replace(regexp, str);}
meta: 6184	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6184/baa0ff49e632f866bc8a0a1f4a567e8416b94608/attachments.js/clean/xwiki-platform-web/standard/src/main/webapp/wiki_editor_2/plugins/attachments.js