Commit a01942280e93772a0dd196912e50fac02db150b4

Authored by Leandro Santos
1 parent 4a9f3410
Exists in fix_sign_up_form

should not escape html of body_ending hotspot

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
app/views/layouts/application-ng.html.erb
@@ -86,9 +86,9 @@ @@ -86,9 +86,9 @@
86 <%= 86 <%=
87 str = (@plugins.dispatch(:body_ending).map do |content| 87 str = (@plugins.dispatch(:body_ending).map do |content|
88 if content.respond_to?(:call) then 88 if content.respond_to?(:call) then
89 - instance_exec(&content) 89 + instance_exec(&content).html_safe
90 else 90 else
91 - content 91 + content.html_safe
92 end 92 end
93 end) 93 end)
94 safe_join(str, "\n") 94 safe_join(str, "\n")