Prevent double escaping of page title - content_for already escapes once

This commit is contained in:
Marcin Kulik 2014-03-12 18:00:37 +01:00
parent e65158d53f
commit ad9fb63215

View File

@ -19,7 +19,7 @@ module ApplicationHelper
def page_title def page_title
if content_for?(:title) if content_for?(:title)
"#{content_for(:title)} - Asciinema" "#{content_for(:title)} - Asciinema".html_safe
else else
"Asciinema - Record and share your terminal sessions, the right way" "Asciinema - Record and share your terminal sessions, the right way"
end end