Skip to content

Commit b775f1e

Browse files
committed
UnblockReview: remove colon from in front of 2nd {{Unblock}} template
fixes #230
1 parent 6d6a156 commit b775f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnblockReview/modules/UnblockReview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class UnblockReview {
6262
}
6363

6464
// get rid of any [#*:] in front of {{unblock X}} templates. indentation messes up the background color and border of the unblock template.
65-
wikitext2 = wikitext2.replace( /^[#*: ]{1,}(\{\{\s*unblock)/mi, '$1' );
65+
wikitext2 = wikitext2.replace( /^[#*: ]{1,}(\{\{\s*unblock)/gmi, '$1' );
6666

6767
return wikitext2;
6868
}

0 commit comments

Comments
 (0)