Topic: Keeping nested UL untouched
Hi.
I use htmLawed 1.1.8. I have this code
require_once 'htmLawed.php';
$s = '<ul><li>Fruits</li><ul><li>Apple</li><li>Peach</li></ul></ul>';
echo "$s";
echo "<hr/>";
echo htmLawed($s,array('safe'=>1));
But the problem is htmLawed remove the second ul probably because it is nested, but it is valid html so how can I change htmLawed option to not remove these nested UL?