Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support *elements in escape synonyms #573

Closed
wants to merge 1 commit into from
Closed

Conversation

ptoomey3
Copy link

The current implementation of escape_element and unescape_element don't suppor the *elements argument. This result in both methods always simply returning the original str passed to them.

The current implementation of `escape_element` and `unescape_element` don't suppor the `*elements` argument. This result in both methods always simply returning the original `str` passed to them.
@nobu nobu closed this in af1da41 Mar 21, 2014
mmasaki pushed a commit to mmasaki/ruby that referenced this pull request Mar 26, 2014
* lib/cgi/util.rb (escape_html, unescape_html): make synonyms
  aliases instead of wrapper methods.
* lib/cgi/util.rb (escape_element, unescape_element): ditto.
  [Fixes rubyGH-573]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant