Código PHP:
$AllowableHTML = array("table"=>2,"thead"=>1,"tr"=>1,"tbody"=>1,"th"=>2,"td"=>2,"tfoot"=>1,"img"=>2,"object"=>2,"embed"=>2,"param"=>2,"span"=>2,"font"=>2,"p"=>2,"hr"=>1,
"b"=>1,"i"=>1,"strike"=>1,"u"=>1,"div"=>2,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);