mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8a998b0fa7
This fixes the case when you try to render an html you know safe and the file is named something.html. With this commit the content of the html won't be escaped anymore because AV won't use Raw handler and choose Html handler instead.
2 lines
58 B
Text
2 lines
58 B
Text
<%= render :partial => 'test/partialhtml' %>
|
|
<%= yield %>
|