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