mirror of
https://github.com/discourse/discourse.git
synced 2026-08-10 04:58:31 -05:00
FIX: Missing close paren
This commit is contained in:
+1
-2
@@ -1281,8 +1281,7 @@
|
||||
|
||||
// No closing ']' found. Just consume the [
|
||||
if ( !res[1] ) {
|
||||
var size = res[0] + 1;
|
||||
return [ size, text.charAt(0) + res[2].join('') ];
|
||||
return [ res[0] + 1, text.charAt(0) ].concat(res[2]);
|
||||
}
|
||||
|
||||
var consumed = 1 + res[ 0 ],
|
||||
|
||||
Reference in New Issue
Block a user