From: Marcel Werk Date: Wed, 19 Jun 2013 20:32:12 +0000 (+0200) Subject: Fixed WYSIWYG issue X-Git-Tag: 2.0.0_Beta_4~19 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=13996ba937adebd59fe6c8da0fb9ae8b06224cb8;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 18222b5edf..66d252fbdb 100644 --- a/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js +++ b/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js @@ -212,7 +212,8 @@ // [url] data = data.replace(/\[url\]([^"]+?)\[\/url]/gi, '$1'); - data = data.replace(/\[url\='?([^'"\]]+)'?](.+?)\[\/url]/gi, '$2'); + data = data.replace(/\[url\='([^'"]+)'](.+?)\[\/url]/gi, '$2'); + data = data.replace(/\[url\=([^'"\]]+)](.+?)\[\/url]/gi, '$2'); // [email] data = data.replace(/\[email\]([^"]+?)\[\/email]/gi, '$1');