From 6037b95084429783126493af0d19b422719bd8bb Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 17 Dec 2014 00:24:46 +0100 Subject: [PATCH] Fixed variable reference --- wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index fc91365875..33411316cf 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -692,7 +692,7 @@ RedactorPlugins.wbbcode = function() { data = data.replace(/\[img='?([^"]*?)'?\]\[\/img\]/gi,''); // [size] - data = data.replace(/\[size=(\d+)\]([\s\S]*?)\[\/size\]/gi, (function(match, a, content) { + data = data.replace(/\[size=(\d+)\]([\s\S]*?)\[\/size\]/gi, (function(match, size, content) { content = $.trim(content); if (!content.length) { content = this.opts.invisibleSpace; -- 2.20.1