And if you don’t want tags to be saved in your DB at all, you can use CHtmlPurifier with a filter rule:
public function rules()
{
// Prepare purifier for use as a filter
$purifier=new CHtmlPurifier;
$purifier->options=array(
'HTML.Allowed'=>'', // No HTML allowed
);
return array(
array('comment','filter','filter'=>array($purifier,'purify')),
);
}