Skip to content

Commit ad1bfa6

Browse files
tamoYukaii
authored andcommitted
Update public/js/index.js
simplify the regex suggested by yukaii in #1605 Co-authored-by: Yukai Huang <yukaihuangtw@gmail.com> Signed-off-by: Tamotsu Takahashi <ttakah@gmail.com>
1 parent ac43db8 commit ad1bfa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3137,7 +3137,7 @@ function checkInContainerSyntax () {
31373137

31383138
function matchInContainer (text) {
31393139
var match
3140-
match = text.match(/(^|\n):::/gm)
3140+
match = text.match(/^:::/gm)
31413141
if (match && match.length % 2) {
31423142
return true
31433143
} else {

0 commit comments

Comments
 (0)