Permalink
Browse files

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
  • Loading branch information...
NZKoz committed Oct 10, 2007
1 parent 1d5d050 commit 3397839ac7487ef66091d0781b77b5a69a3d7f69
Showing with 2 additions and 0 deletions.
  1. +2 −0 actionpack/lib/action_controller/assertions/selector_assertions.rb
@@ -561,6 +561,8 @@ def unescape_rjs(rjs_string)
# RJS encodes double quotes and line breaks.
unescaped= rjs_string.gsub('\"', '"')
unescaped.gsub!('\n', "\n")
+ unescaped.gsub!('\076', '>')
+ unescaped.gsub!('\074', '<')
# RJS encodes non-ascii characters.
unescaped.gsub!(RJS_PATTERN_UNICODE_ESCAPED_CHAR) {|u| [$1.hex].pack('U*')}
unescaped

0 comments on commit 3397839

Please sign in to comment.