mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rexml/doctype.rb, test/rss/test_maker_itunes.rb: replace
multi-byte string.
* test/json/{test_json.rb, test_json_unicode.rb}: add magic comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1f7db0db75
commit
7c884e9012
5 changed files with 12 additions and 2 deletions
|
|
@ -188,7 +188,7 @@ module REXML
|
|||
|
||||
# Method contributed by Henrik Martensson
|
||||
def strip_quotes(quoted_string)
|
||||
quoted_string =~ /^[\'\"].*[\´\"]$/ ?
|
||||
quoted_string =~ /^[\'\"].*[\'\"]$/ ?
|
||||
quoted_string[1, quoted_string.length-2] :
|
||||
quoted_string
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue