Skip to content

Commit

Permalink
Merge pull request #517 from commercekitchen/hotfix/custom_banner_gre…
Browse files Browse the repository at this point in the history
…eting

Unescape html in banner translation
  • Loading branch information
tmichaelreis authored Aug 18, 2021
2 parents ed65cdb + d0f81ac commit 05b47f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/_logo_banner.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
<%= t('logged_in_user.hi') %> <%=current_user.first_name%><%= "(ADMIN)" if current_user.admin? %>!
<br>
<% end %>
<%= raw i18n_with_default("home.#{current_organization.subdomain}.custom_banner_greeting") %>
<%= raw(CGI.unescape_html(i18n_with_default("home.#{current_organization.subdomain}.custom_banner_greeting"))) %>
</h1>

0 comments on commit 05b47f8

Please sign in to comment.