I am trying to show the autocomplete text with image. Image tag showed < instead of < and also > instead of >
$this->widget('zii.widgets.jui.CJuiAutoComplete',array(
'name'=>'searchBox',
'sourceUrl'=>$this->createUrl('site/search'),
'options'=>array(
'html'=>true,
'select'=>'js: function(event,ui){$(this).val(ui.item.name);return false;}',
),
'htmlOptions'=>array(
'class'=>'bar',
),
));
// output
<a class="ui-corner-all" tabindex="-1"><img src="/test/project1/themes/video/images/music-default.png" alt="" /></a>