// This is optional. It strips out unecessary tags if you wish and leaves those specified behind $outxt = strip_tags($outxt, '<p>');