aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/template/handlers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add Html template handler that wraps Raw output in an OutputBufferSantiago Pastorino2016-01-051-1/+3
| | | | | | | 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.
* Change the default template handler from `ERB` to `Raw`.Rafael Mendonça França2015-01-041-2/+2
| | | | | Files without a template handler in their extension will be rended using the raw handler instead of ERB.
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
|
* Wrap code snippets in +, not backticks, in sdocclaudiob2014-11-201-1/+1
| | | | | | | | I grepped the source code for code snippets wrapped in backticks in the comments and replaced the backticks with plus signs so they are correctly displayed in the Rails documentation. [ci skip]
* Add unregister_template_handler to prevent leaks.Zuhao Wan2014-06-121-0/+9
|
* Move actionpack/lib/action_view* into actionview/libPiotr Sarnacki2013-06-201-0/+53