add: contents = contents.replace(/http:\/\/www\.___relativelink___\.com\ 
context: function editor_filterOutput(objname) {  editor_updateOutput(objname);  var contents = document.all[objname].value;  var config   = document.all[objname].config;  // ignore blank contents  if (contents.toLowerCase() == '<p>&nbsp;</p>') { contents = ""; }  // filter tag - this code is run for each HTML tag matched  var filterTag = function(tagBody,tagName,tagAttr) {    tagName = tagName.toLowerCase();    var closingTag = (tagBody.match(/^<\//)) ? true : false;    // fix placeholder URLS - remove absolute paths that IE adds    if (tagName == 'img') { tagBody = tagBody.replace(/(src\s*=\s*.)[^*]*(\*\*\*)/, "$1$2"); }    if (tagName == 'a')   { tagBody = tagBody.replace(/(href\s*=\s*.)[^*]*(\*\*\*)/, "$1$2"); }    // add additional tag filtering here    // convert to vbCode//    if      (tagName == 'b' || tagName == 'strong') {//      if (closingTag) { tagBody = "[/b]"; } else { tagBody = "[b]"; }//    }//    else if (tagName == 'i' || tagName == 'em') {//      if (closingTag) { tagBody = "[/i]"; } else { tagBody = "[i]"; }//    }//    else if (tagName == 'u') {//      if (closingTag) { tagBody = "[/u]"; } else { tagBody = "[u]"; }//    }//    else {//      tagBody = ""; // disallow all other tags!//    }    return tagBody;  };  // match tags and call filterTag  RegExp.lastIndex = 0;    var matchTag = /<\/?(\w+)((?:[^'">]*|'[^']*'|"[^"]*")*)>/g;   // this will match tags, but still doesn't handle container tags (textarea, comments, etc)  contents = contents.replace(matchTag, filterTag);  // remove nextlines from output (if requested)  if (config.replaceNextlines) {     contents = contents.replace(/\r\n/g, ' ');    contents = contents.replace(/\n/g, ' ');    contents = contents.replace(/\r/g, ' ');  }  // update output with filtered content  document.all[objname].value = contents;}
meta: 5314	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5314/0508ab8b8492467600e85b016d1e5a87d1d7b255/editor.js/clean/www/extras/htmlArea/editor.js