From 5a9101e303ce3837ec069bee7638ba1b6d006680 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Fri, 26 Jun 2015 10:49:22 +1000 Subject: [PATCH] Display HTML special chars correctly in title --- app/views/layouts/darkswarm.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/darkswarm.html.haml b/app/views/layouts/darkswarm.html.haml index a4d8db30c0..0e2d1fa0f6 100644 --- a/app/views/layouts/darkswarm.html.haml +++ b/app/views/layouts/darkswarm.html.haml @@ -3,7 +3,7 @@ %meta{charset: 'utf-8'}/ %meta{name: 'viewport', content: "width=device-width,initial-scale=1.0"}/ - %title= content_for?(:title) ? "#{yield(:title)} - Open Food Network" : 'Welcome to Open Food Network' + %title= content_for?(:title) ? "#{yield(:title)} - Open Food Network".html_safe : 'Welcome to Open Food Network' - if Rails.env.production? = favicon_link_tag - else