CAccessControlFilter message with newline

Hi, I need to do a newline in message string which is generated if user has no access to page. I was trying with <br/> and "/n" but with no luck :confused: Anyone has any idea how to do that?

My not working code is:

	public function accessRules()


		return array(

			array('allow', // allow authenticated user to perform 'create' and 'update' actions




			array('deny',  // deny all users


				'message'=>'First line<br>

				Second line',




CAccessRule if been denied then it would call CHttpException(403, $message); which mean, it is rendering view file located on your protected/views/site/error.php

in the file, you might found something like this

echo CHtml::encode($message);

If you really want to have html-format message, then you must remove the encode and just echo the variable only

echo $message;

That was so easy… Damn :) Thanks a lot.