Php Yii Bootsrap小部件TbButton的HTML标签

Php Yii Bootsrap小部件TbButton的HTML标签,php,css,twitter-bootstrap,yii,label,Php,Css,Twitter Bootstrap,Yii,Label,我在我的网页中使用了一个Yii引导程序小部件。这是我的代码: <?php $this->widget('bootstrap.widgets.TbButton', array( 'buttonType'=>'submit', 'type'=>'primary', 'label'=>'S U B M I <br>T', 'htmlOptions'=>array(

我在我的网页中使用了一个Yii引导程序小部件。这是我的代码:

<?php
    $this->widget('bootstrap.widgets.TbButton', array(
        'buttonType'=>'submit',
        'type'=>'primary',
        'label'=>'S U B M I <br>T',
        'htmlOptions'=>array(
            'name'=>'step2',
            'id'=>'winery-selected',
            'class'=>'btn btn-primary btn-responsive'
         )
    )); 
?>

<br/>


我想在
标签
元素中添加一个
br
标记。如果我只是在
标签
内添加一个
br
标签,它将显示如下图所示


如何实现这一点?

尝试添加这一行,
'encodeLabel'=>false,

这是你的代码应该是

<?php $this->widget('bootstrap.widgets.TbButton', array(
                            'buttonType'=>'submit',
                            'encodeLabel'=>false,
                            'type'=>'primary',
                            'label'=>'S U B M I <br>T',
                            'htmlOptions'=>array('name'=>'step2','id'=>'winery-selected','class'=>'btn btn-primary btn-responsive')
                        )); ?>

谢谢。现在开始工作了。