From: Marcel Werk Date: Wed, 19 Jun 2013 20:23:54 +0000 (+0200) Subject: Fixed WYSIWYG issue X-Git-Tag: 2.0.0_Beta_4~21 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=25e14f52e99d4687d08adac862792b99dafa0488;p=GitHub%2FWoltLab%2FWCF.git Fixed WYSIWYG issue --- diff --git a/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js b/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js index 987fc6a2a8..18222b5edf 100644 --- a/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js +++ b/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js @@ -238,7 +238,7 @@ // [img] data = data.replace(/\[img\]([^"]+?)\[\/img\]/gi,''); - data = data.replace(/\[img='?([^"]*?)'?,(left|right)\]\[\/img\]/gi,''); + data = data.replace(/\[img='?([^"]*?)'?,'?(left|right)'?\]\[\/img\]/gi,''); data = data.replace(/\[img='?([^"]*?)'?\]\[\/img\]/gi,''); // [quote]