disabling html encode in CHtml::dropDownList


i am making a dropDownList which has some   in it, purpose is to indent some options , but CHtml::dropDownList() automatically encodes html , is there a simple way to disable encoding ?


Rasikh Mashhadi


Please see



encode: boolean, specifies whether to encode the values. Defaults to true. This option has been available since version 1.0.5.

Thanks :)

Rasikh Mashhadi

راسخ مشہدی