mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 13:23:38 +08:00
FIX: Missing close paren
This commit is contained in:
parent
5323d3fc29
commit
773cf60224
3
vendor/assets/javascripts/better_markdown.js
vendored
3
vendor/assets/javascripts/better_markdown.js
vendored
|
@ -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 ],
|
||||
|
|
Loading…
Reference in New Issue
Block a user