Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不能做这样的事情是否正确:
{{ Form::label('search',{!!__('messages.rep_findUsr')!!} )}}
我是否需要先将其存储在 var 中,然后将其作为参数传递?
还是有更快的方法?谢谢
您可以简单地将第四个参数设置为 false 以禁用 html 转义:
{{ Form::label('search',__('messages.rep_findUsr'), [], false) }}
Form::label 声明
public function label($name, $value = null, $options = [], $escape_html = true);