Don't escape the title - rails will handle it
authorTom Hughes <tom@compton.nu>
Mon, 20 Feb 2012 11:45:17 +0000 (11:45 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 20 Feb 2012 11:45:17 +0000 (11:45 +0000)
app/views/layouts/_head.html.erb

index 2dda3d799d02d882ec296069eeb477ecde5e160d..8a0f62d922a9ddc4b13f0c21c1c18c5903736743 100644 (file)
@@ -16,5 +16,5 @@
   <%= style_rules %>
   <%= yield :head %>
   <%= csrf_meta_tag %>
-  <title><%= t 'layouts.project_name.title' %><%= ' | '+ h(@title) if @title %></title>
+  <title><%= t 'layouts.project_name.title' %><%= ' | '+ @title if @title %></title>
 </head>