public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/ddollar/rails.git
Fix tests broken by earlier change


git-svn-id: 
http://svn-commit.rubyonrails.org/rails/branches/1-2-stable@7821 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
NZKoz (author)
Tue Oct 09 19:10:24 -0700 2007
commit  3397839ac7487ef66091d0781b77b5a69a3d7f69
tree    f4011dafcb3483d159a0eea3ce20b9a2eaafde49
parent  1d5d050c70e27c05ef96d5eadcdffab465b89a0b
...
561
562
563
 
 
564
565
566
...
561
562
563
564
565
566
567
568
0
@@ -561,6 +561,8 @@ module ActionController
0
           # RJS encodes double quotes and line breaks.
0
           unescaped= rjs_string.gsub('\"', '"')
0
           unescaped.gsub!('\n', "\n")
0
+ unescaped.gsub!('\076', '>')
0
+ unescaped.gsub!('\074', '<')
0
           # RJS encodes non-ascii characters.
0
           unescaped.gsub!(RJS_PATTERN_UNICODE_ESCAPED_CHAR) {|u| [$1.hex].pack('U*')}
0
           unescaped

Comments

    No one has commented yet.