title: CKEditor - remove script tag with data processor
body: <p>I am quite new with CKEditor (starting to use it 2 days ago) and I am still fighting with some configuration like removing the  tag from editor.</p>
  
  <p>So for example, if a user type in source mode the following:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;alert('hello');&lt;/script&gt;
  </code></pre>
  
  <p>I would like to remove it.</p>
  
  <p>Looking the documentation, I found that this can be done using an HTML filter. I so defined it but it does not work.</p>
  
  <pre><code>var editor = ev.editor;
  var dataProcessor = editor.dataProcessor;
  var htmlFilter = dataProcessor &amp;&amp; dataProcessor.htmlFilter;
  htmlFilter.addRules(
      {
          elements :
            {
               script : function(element)
                  {
                     alert('Found script :' + element.name);
                     element.remove();
                  },
               img : function( element )
                  {
                     alert('Found script :' + element.name);
                     if ( !element.attributes.alt )
                         element.attributes.alt = 'Cookingfactory';
                     }
                   }
               });
  </code></pre>
  
  <p>The img part is working well but not the script one. I guess I missed something. It even does not display the alert message for script.</p>
  
  <p>Any help would be more than welcome :o)</p>