Your HTML YAML keys must have the _html suffix:
foo: bar: xxxx_html: "<strong>Some HTML Here</strong>"
Doing this Rails will mean that the line has html_safe and will display HTML instead of converting it to > and < .
You need to reference it with the full key name, Rails does not automatically see the _html suffix when you call xxxx .
<%= t 'foo.bar.xxxx_html' %>
source share