kendrick's avatar

CSS in lang string, '<span class="red">text</span>'

Is there any way possible to provide a style class to a lang string in the manner of an attribute?

'accepted' => 'The :attribute must be accepted.',

lang/en

<?php

return [

'hello' => 'Hello',
'test' => 'How are you today?',

'test' => 'How are <span class="red">you</span> today?',  // 

];
0 likes
2 replies

Please or to participate in this conversation.