中messages.en.yml
,我有
confirmed: Congrats %username%, your account is now activated.
但是我想以“粗体”用户名为例……我该怎么做?
confirmed: Congrats <span class='bold'>%username%</span>, your account is now activated.
当然我可以在这个例子中使用两个句子,比如
first: Congrats
second: , your account ...
并且在树枝内部使用 html 标签,但这看起来很脏。