prova così
Codice PHP:
$text '

Test paragraph.</p>'
;
echo 
strip_tags($text);

// allow 


echo strip_tags($text'

'
);