From 4476a454445281b2468d03c9c6d4d99e52b1a597 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 10 Mar 2018 11:43:20 +0100 Subject: [PATCH] Fix #6717: Do not double html-encode page titles (#6720) --- app/views/layouts/application.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index b26d2c5091..df898d5a20 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'