diff --git a/code/Global/renderFunctions.js b/code/Global/renderFunctions.js index 186829f1..95c5b01c 100644 --- a/code/Global/renderFunctions.js +++ b/code/Global/renderFunctions.js @@ -64,9 +64,9 @@ function doWikiStuff (src) { var src= " "+src; // set up reg exp for http link stuff - var linkexp = new RegExp ("([^=^\"])(http://[^ ^\r^\n^\"]*)"); - linkexp.ignoreCase=true; - linkexp.global=true; + // var linkexp = new RegExp ("([^=^\"])(http://[^ ^\r^\n^\"]*)"); + // linkexp.ignoreCase=true; + // linkexp.global=true; // do the Wiki link thing, *asterisk style* var regex = new RegExp ("[*]([a-z0-9öäü][a-z0-9öäüß ]*[a-z0-9öäüß])[*]"); @@ -77,7 +77,8 @@ function doWikiStuff (src) { while (true) { var found = regex.exec (src.substring(start)); var to = found == null ? src.length : start + found.index; - text += src.substring(start, to).replace (linkexp, "$1$2"); + // text += src.substring(start, to).replace (linkexp, "$1$2"); + text += src.substring(start, to); if (found == null) break; var name = found[1];