I’ve got a translatated message with placeholders which contain html tags.
The problem is that Yii escapes the html so it is treated like text.
Is there a way to disable the escaping of the placeholders?
Here is the code i use:
Yii::t(
‘message’, ‘You are not logged in. {loginBegin}Login{loginEnd}.’,
array(
'{loginBegin}' => '<span onclick="show(\'login-form\')">',
'{loginEnd}' => '</span>'
)
);