Prevent double escaping of page title - content_for already escapes once
This commit is contained in:
parent
e65158d53f
commit
ad9fb63215
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user