diff options
author | francis <francis> | 2008-01-23 01:59:23 +0000 |
---|---|---|
committer | francis <francis> | 2008-01-23 01:59:23 +0000 |
commit | 48e272ad3a764dd7293c31554ed30b95fa317304 (patch) | |
tree | c5b99c1927ee3f30350460e455079dd16b8a7aee /config/environment.rb | |
parent | 6d1733e8a0b5f404326cfbd78b7139c87ecbffa3 (diff) |
Migration to Rails 2.0.2
Diffstat (limited to 'config/environment.rb')
-rw-r--r-- | config/environment.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/environment.rb b/config/environment.rb index 62db9d0ae..5408056ad 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -79,8 +79,8 @@ ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| %(<span clas # Monkeypatch! Output HTML 4.0 compliant code, using method described in this # ticket: http://dev.rubyonrails.org/ticket/6009 ActionView::Helpers::TagHelper.module_eval do - def tag(name, options = nil, open = false) - "<#{name}#{tag_options(options.stringify_keys) if options}>" + def tag(name, options = nil, open = false, escape = true) + "<#{name}#{tag_options(options, escape) if options}" + (open ? ">" : ">") end end |