Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 3397839ac7487ef66091d0781b77b5a69a3d7f69 1 parent 1d5d050
@NZKoz NZKoz authored
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.