From 3b0ec1fccc9ebe7ed3101e6c8033fdbed7ee95d7 Mon Sep 17 00:00:00 2001 From: Ian Date: Thu, 21 Nov 2013 16:09:14 +0100 Subject: [PATCH] fix 2b0b60e --- serendipity_event_ckeditor/cke_config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serendipity_event_ckeditor/cke_config.js b/serendipity_event_ckeditor/cke_config.js index 11d195169..1237a9227 100644 --- a/serendipity_event_ckeditor/cke_config.js +++ b/serendipity_event_ckeditor/cke_config.js @@ -39,7 +39,7 @@ CKEDITOR.editorConfig = function( config ) { // allow imageselectorplus mediainsert tag code config.protectedSource.push( /<(mediainsert)[^>]*>[\s\S]*?<\/mediainsert>/img ); // allow a Smarty like {} tag syntax without starting whitespace, which would be some other code part. - config.protectedSource.push( /\{[a-zA-Z\$]*?\}/gi ); + config.protectedSource.push( /\{[a-zA-Z\$].*?\}/gi ); // set placeholder tag cases - elements [attributes]{styles}(classes) config.extraAllowedContent = 'mediainsert[*]{*}(*);script[*]{*}(*)'; // changed to ACF right order: attr style class