Add vim modelines to all files.
[htmlpurifier.git] / tests / HTMLPurifier / PHPT / kses / basic.phpt
blob8a9cd01621084dfedfa0d2462704e6d93dde8763
1 --TEST--
2 HTMLPurifier.kses.php basic test
3 --FILE--
4 <?php
5 require '../library/HTMLPurifier.kses.php';
6 echo kses(
7     '<a class="foo" style="color:#F00;" href="https://google.com">Foo<i>Bar</i>',
8     array(
9         'a' => array('class' => 1, 'href' => 1),
10     ),
11     array('http') // no https!
14 --EXPECT--
15 <a class="foo">FooBar</a>