You are here

public function CKEditorFilterTest::testNested in CKEditor Filter 7

Sanity check: ensure blacklisted elements are removed even if nested.

File

./ckeditor_filter.test, line 42

Class

CKEditorFilterTest

Code

public function testNested() {
  $content = '<p><iframe>danger!</iframe></p>';
  $filtered = _ckeditor_filter_process($content, $this->filter);
  $this
    ->assertIdentical('<p>danger!</p>', $filtered);
}