when editing templates with CKEditor, protect blocks of perl code, #24331
[freeside.git] / httemplate / edit / msg_template.html
index fa375a0..06cac44 100644 (file)
@@ -67,7 +67,8 @@ if ( $curuser->access_right('Edit global templates')
       { field => 'subject',   size=>60, },
       { field => 'body',
         type  => 'htmlarea',
-        width => 763
+        width => 763,
+        config=> { extraPlugins => 'blockprotect' },
       },
   ;
 } else { #readonly