diff --git a/docs/page.js b/docs/page.js index 4d0484ec5ced50e3e05e7bb89754ac61f37f18b2..ee84c752c0034b4b83dfa5e1cfb7832446d49f2b 100644 --- a/docs/page.js +++ b/docs/page.js @@ -24,7 +24,7 @@ var onDocumentLoad = function ( event ) { text = text.replace(/\[page:(\w+)\]/gi, "[page:$1 $1]" ); // [page:name] to [page:name title] text = text.replace(/\[page:(\w+) ([\w|\.]+)\]/gi, "$2" ); // [page:name title] text = text.replace(/\[link:([\w|\:|\/|\.|\-|\_]+)\]/gi, "[link:$1 $1]" ); // [link:url] to [link:url title] - text = text.replace(/\[link:([\w|\:|\/|\.|\-|\_]+) ([\w|\:|\/|\.|\-|\_]+)\]/gi, "$2" ); // [link:url title] + text = text.replace(/\[link:([\w|\:|\/|\.|\-|\_|\(|\)]+) ([\w|\:|\/|\.|\-|\_ ]+)\]/gi, "$2" ); // [link:url title] text = text.replace(/\*([\w|\d|\"|\-|\(][\w|\d|\ |\-|\/|\+|\-|\(|\)|\=|\,|\.\"]*[\w|\d|\"|\)]|\w)\*/gi, "$1" ); // * document.body.innerHTML = text;