Commit a01942280e93772a0dd196912e50fac02db150b4
1 parent
4a9f3410
Exists in
staging
and in
4 other branches
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 | 86 | <%= |
87 | 87 | str = (@plugins.dispatch(:body_ending).map do |content| |
88 | 88 | if content.respond_to?(:call) then |
89 | - instance_exec(&content) | |
89 | + instance_exec(&content).html_safe | |
90 | 90 | else |
91 | - content | |
91 | + content.html_safe | |
92 | 92 | end |
93 | 93 | end) |
94 | 94 | safe_join(str, "\n") | ... | ... |