From: Marcel Werk Date: Wed, 9 Oct 2013 23:25:23 +0000 (+0200) Subject: Fixed editor issue X-Git-Tag: 2.0.0_Beta_11~45 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=89dd0b2c2059eb00f229cf745e554686d7358471;p=GitHub%2FWoltLab%2FWCF.git Fixed editor 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 1527a0c042..73ed36022c 100644 --- a/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js +++ b/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js @@ -244,7 +244,7 @@ var $cachedCodes = { }; data = data.replace(/\[code(.+?)\[\/code]/gi, function(match) { var $key = match.hashCode(); - $cachedCodes[$key] = match; + $cachedCodes[$key] = match.replace(/\$/g, '$$$$'); return '@@' + $key + '@@'; });