diff options
author | Michael Koziarski <michael@koziarski.com> | 2009-10-15 17:16:51 +1300 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2009-10-15 17:22:50 +1300 |
commit | cc1ad46eadfad2c617d897927eb4bc0c36e1d033 (patch) | |
tree | 202e75968954e28106da43d9de0e77ffd4a8feed /actionpack/lib/action_view/helpers/capture_helper.rb | |
parent | 4484f0bccf1b02ff1d05d7310afe2e572befce46 (diff) | |
download | rails-cc1ad46eadfad2c617d897927eb4bc0c36e1d033.tar.gz rails-cc1ad46eadfad2c617d897927eb4bc0c36e1d033.tar.bz2 rails-cc1ad46eadfad2c617d897927eb4bc0c36e1d033.zip |
Add a read-only method which plugin authors can use to determine if xss escaping.
This doesn't provide a way to turn off the escaping, but alternative template engine authors
can figure out what their default should be by calling this. Avoids a messy version + plugin check.
Diffstat (limited to 'actionpack/lib/action_view/helpers/capture_helper.rb')
0 files changed, 0 insertions, 0 deletions