title: Yii zii.widgets.grid.cgridview with type html render failed
body: <p>I use this grid to view a table with data:</p>
  
  <p>View part:</p>
  
  <pre><code>&lt;?php $this-&gt;widget('zii.widgets.grid.CGridView', array(
      'id'=&gt;'news-grid',
      'dataProvider'=&gt;$model-&gt;search(),
      'filter'=&gt;$model,
      'columns'=&gt;array(       
          array(
              'name'=&gt;'enable',
              'type'=&gt;'html',
              'value'=&gt;'$data-&gt;stateHtmlIcon',
          ),      
      ),
  )); ?&gt;
  </code></pre>
  
  <p>In my model:</p>
  
  <pre><code>public function getStateHtmlIcon() {
          if ($this-&gt;enable == AbstractModel::ENABLE) {
              return '&lt;font class="icon-enable"&gt;&lt;/font&gt;';
          } else {
              return '&lt;font class="icon-disable"&gt;&lt;/font&gt;';
          }
      }
  </code></pre>
  
  <p>It doesn't work, the render stop when display column with stateHtmlIcon.</p>
  
  <p>When I comment 'type'=>'html' in the grid (view part), it works but in the column the html is not rendered correctly</p>
  
  <pre><code>&lt;font class="icon-enable"&gt;&lt;/font&gt;
  </code></pre>
  
  <p>instead of icon displayed with css style.</p>
  
  <p>So I think I don't use correctly 'type'=>'html?</p>