[solved] How to show HTML characters correctly

Hello,

In default CRUD View.php I have tried to user some HTML Char like √ (same with > < & ):


		array(

            'name'=>'CrMon',

            'value'=>$model->CrMon?'√':'',

        ),

But how do I successfully do this because it just put the echo like √ instead of right symbol in view.

Thanks

CoLT

try with




   array(

     'name'=>'CrMon',

     'type'=>'raw',

     'value'=>$model->CrMon?'&radic;':'',

   ),



by default ‘type’ is text and is HTML encoded…

Thanks it helped me out!

;)

CoLT