#5226 Unescape page title. (#5246)

* #5226 Unescape page title.

* #5226 Unescape or statement in title.
This commit is contained in:
Temuri Takalandze 2019-12-27 19:57:31 +04:00 committed by Ben Halpern
parent dbaf37e712
commit 2312d2e301

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<% title = yield(:title) %>
<title><%= title || "#{ApplicationConfig['COMMUNITY_NAME']} Community" %></title>
<title><%= CGI.unescapeHTML(title || "#{ApplicationConfig['COMMUNITY_NAME']} Community") %></title>
<% unless internal_navigation? %>
<meta name="last-updated" content="<%= Time.current %>">
<meta name="user-signed-in" content="<%= user_signed_in? %>">
@ -69,4 +69,4 @@
loading...
</div>
<!-- End Top Shell -->
<% end %>
<% end %>