FIX: BBCode with params couldn't span lines

This commit is contained in:
Robin Ward
2014-08-22 12:14:10 -04:00
parent f422e5c8c4
commit 104b39540a
2 changed files with 4 additions and 1 deletions
@@ -47,7 +47,7 @@ function replaceBBCodeParamsRaw(tag, emitter) {
stop: "[/" + tag + "]",
rawContents: true,
emitter: function(contents) {
var regexp = /^([^\]]+)\](.*)$/,
var regexp = /^([^\]]+)\]([\S\s]*)$/,
m = regexp.exec(contents);
if (m) { return emitter.call(this, m[1], m[2]); }