1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/controller/new_base
Prem Sichanugrist 920f3ba266 Introduce render :html for render HTML string
This is an option for to HTML content with a content type of
`text/html`. This rendering option calls `ERB::Util.html_escape`
internally to escape unsafe HTML string, so you will have to mark your
string as html safe if you have any HTML tag in it.

Please see #12374 for more detail.
2014-02-18 12:08:36 -05:00
..
bare_metal_test.rb Collapsed dual checks (one for content headers and one for content) into a single check. 2012-08-02 16:01:08 -07:00
base_test.rb update documentation and code to use _action callbacks 2012-12-07 14:46:06 -05:00
content_negotiation_test.rb Use Mime::Type references. 2011-02-08 14:14:26 -08:00
content_type_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
metal_test.rb Fixed a bunch of tests that failed in 1.9 because they assumed that a Rack response was a String. 2010-03-19 18:46:29 -07:00
middleware_test.rb cleanup, remove trailing whitespace within actionpack 2012-10-27 16:03:18 +02:00
render_action_test.rb deprecate describe without a block. 2012-07-09 13:13:59 -07:00
render_body_test.rb Introduce render :body for render raw content 2014-02-18 12:08:36 -05:00
render_context_test.rb update documentation and code to use _action callbacks 2012-12-07 14:46:06 -05:00
render_file_test.rb Deprecate passing the template handler in the template name. 2011-09-22 15:37:38 +02:00
render_html_test.rb Introduce render :html for render HTML string 2014-02-18 12:08:36 -05:00
render_implicit_action_test.rb Revert to old semantics, use available_action? instead of action_method?. 2011-05-06 18:44:18 +02:00
render_layout_test.rb Fix another regression related to the layout optimization. 2011-12-08 22:56:50 +01:00
render_partial_test.rb Fix typos in AP: "overriden" => "overridden" 2013-03-30 15:17:08 -03:00
render_plain_test.rb Introduce render :plain for render plain text 2014-02-18 12:08:36 -05:00
render_streaming_test.rb Raise RuntimeErrors with inspectable and MRI-independent messages. 2013-11-24 14:18:00 +01:00
render_template_test.rb Raise RuntimeErrors with inspectable and MRI-independent messages. 2013-11-24 14:18:00 +01:00
render_test.rb Fix typos in AP: "overriden" => "overridden" 2013-03-30 15:17:08 -03:00
render_text_test.rb Update hash format for render_text_test 2014-02-18 12:08:36 -05:00
render_xml_test.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00