File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ var onDocumentLoad = function ( event ) {
11
11
text = text . replace ( / \[ p a g e : ( \w + ) ( [ \w | \. ] + ) \] / gi, "<a href=\"javascript:window.parent.goTo('$1')\" title=\"$1\">$2</a>" ) ; // [page:name title]
12
12
text = text . replace ( / \[ l i n k : ( [ \w | \: | \/ | \. | \- | \_ ] + ) \] / gi, "[link:$1 $1]" ) ; // [link:url] to [link:url title]
13
13
text = text . replace ( / \[ l i n k : ( [ \w | \: | \/ | \. | \- | \_ ] + ) ( [ \w | \: | \/ | \. | \- | \_ ] + ) \] / gi, "<a href=\"$1\" target=\"_blank\">$2</a>" ) ; // [link:url title]
14
- text = text . replace ( / \* ( [ \w | \ | \- | \/ | \+ | \- | \( | \) | \= | \, | \. \" ] + ) \* / gi, "<strong>$1</strong>" ) ; // *
14
+ text = text . replace ( / \* ( [ \w | \" ] [ \w | \ | \- | \/ | \+ | \- | \( | \) | \= | \, | \. \" ] + [ \w | \" ] | \w ) \* / gi, "<strong>$1</strong>" ) ; // *
15
15
16
16
document . body . innerHTML = text ;
17
17
You can’t perform that action at this time.
0 commit comments