From 89dd0b2c2059eb00f229cf745e554686d7358471 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 10 Oct 2013 01:25:23 +0200 Subject: [PATCH] Fixed editor issue --- .../files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + '@@'; }); -- 2.20.1