Topic: Help configuring
Hi!
I'm having some problems configuring htmlLawed. I want it to remove script tags, but I can't seem to be able to do that. I believe this is the correct sintax, right?
include 'htmLawed.php';
$htmlText = "<script>alert('Something is wrong');</script>";
$config = array('elements'=>'*-script');
$htmlText = htmLawed($htmlText, $config);
Maybe that's not the way to do it? Any help is great. Thanks! :)