From: Alexander Ebert Date: Tue, 16 Dec 2014 23:24:46 +0000 (+0100) Subject: Fixed variable reference X-Git-Tag: 2.1.0_Beta_2~22 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6037b95084429783126493af0d19b422719bd8bb;p=GitHub%2FWoltLab%2FWCF.git Fixed variable reference --- 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;