Cakephp3: Render/Evaluate HTML 内标签 formhelper

Cakephp3: Render/Evaluate HTML inside label formhelper

如何在 cakephp3 的标签内放置 html?

我需要实现 * 姓名:

使用下面的代码

<?php
    echo $this->Form->input ( 'name', [ 
            'label' => [ 
                    'text' => '<span class="red">*</span> Name:',
                    'class' => 'col-sm-12 col-md-2 col-lg-1 control-label' 
            ],
            'class' => 'form-control',
            'rows' => 1 
    ] );

一如既往,使用 escape option

echo $this->Form->input('name', [ 
    'label' => [ 
        // ...
        'escape' => false
    ],
    // ...
]);