Ok, I only found one solution. This eludes the "" character in the first parameter of the link method. I know this is so ugly, but I can handle it.
<?php echo CHtml::link('<i class=\'icon s\'></i>Foo',array('/site/index'), array('class'=>'hover')); ?>
source
share