cakephp 助手 link 数组 css 无法正确显示

cakephp helper link array css not properly display

我的代码将 link 用于注销页面并且注销文本具有 css 字体真棒..下面是代码..

<? php echo $this->Html->link(__('Logout', true), 
array('controller' => 'users', 'action' => 'Logout'),
array('class'=>'fa fa-sign-out fa-fw')); ?> 

但是显示的时候,菜单显示的不是很好

Screenshot menu with css

第一次注销时出现问题link。 1) 仅在图标注销时突出显示,而不是所有文本。 2)字体也与其他文本不一样。

最后一次注销 link 我使用正常 html 代码编写代码,如下所示。

<a href="login.html"><i class="fa fa-sign-out fa-fw"></i> Logout</a> 

问题,我的cakephp编码哪里有问题?

提前致谢。

看到这个。

echo $this->Html->link(
   '<i class="fa fa-sign-out fa-fw"></i> Logout',
    array(
        'controller'=>'users',
        'action'=>'Logout'
    ),
    array(
        'escape'=>false  //NOTICE THIS LINE ***************
    )
);

输出将是

<a href="login.html"><i class="fa fa-sign-out fa-fw"></i> Logout</a>