about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-03-10 11:43:20 +0100
committerGitHub <noreply@github.com>2018-03-10 11:43:20 +0100
commit4476a454445281b2468d03c9c6d4d99e52b1a597 (patch)
tree63afd29771824e3f6ec3cfe8443b459ab9af2ce2 /app/views
parent58a4633707ad5e9abe4727752f6ebd43566845c0 (diff)
Fix #6717: Do not double html-encode page titles (#6720)
Diffstat (limited to 'app/views')
-rwxr-xr-xapp/views/layouts/application.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index b26d2c509..df898d5a2 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -11,7 +11,7 @@
     %meta{ name: 'theme-color', content: '#282c37' }/
     %meta{ name: 'apple-mobile-web-app-capable', content: 'yes' }/
 
-    %title= content_for?(:page_title) ? safe_join([yield(:page_title).chomp, ' - ', title]) : title
+    %title= content_for?(:page_title) ? safe_join([yield(:page_title).chomp.html_safe, title], ' - ') : title
 
     = stylesheet_pack_tag 'common', media: 'all'
     = stylesheet_pack_tag current_theme, media: 'all'