diff options
author | José Valim <jose.valim@gmail.com> | 2010-04-06 23:08:21 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-04-06 23:08:21 +0200 |
commit | af130575249571464ec984efa84fcea1267e8cf8 (patch) | |
tree | 0a2462edbfd42b744cfd3bc1be4beb1c10f4b838 /railties | |
parent | 46e2a44ee14a19cc2392d8ca174529ad70ee36dc (diff) | |
download | rails-af130575249571464ec984efa84fcea1267e8cf8.tar.gz rails-af130575249571464ec984efa84fcea1267e8cf8.tar.bz2 rails-af130575249571464ec984efa84fcea1267e8cf8.zip |
Use raw in yield since templates engines should not be required to html_safe their contents.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb b/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb index 7a08d5b957..6b87d9d3ec 100644 --- a/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb +++ b/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb @@ -11,7 +11,7 @@ <p class="notice"><%= notice %></p> <p class="alert"><%= alert %></p> -<%= yield %> +<%=raw yield %> </body> </html> |