public
Fork of NZKoz/koz-rails
Description: Koz's rails git-svn clone
Homepage: http://www.rubyonrails.org
Clone URL: git://github.com/eventualbuddha/koz-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  dc216070614b9d511bfb4842ebb2cb42ef97de2e
tree    f4011dafcb3483d159a0eea3ce20b9a2eaafde49
parent  767755b6c21206f58ff71d542427c48758c15672
...
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.