aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rexml/entity.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-01 05:43:50 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-01 05:43:50 +0000
commit1448668244c81cfc720bcdfa93af352a17cc230f (patch)
tree550af4707b22d099f4d8393e29ef6da424aca813 /lib/rexml/entity.rb
parent96e7713754c477fe98806b905301356371accb68 (diff)
downloadruby-1448668244c81cfc720bcdfa93af352a17cc230f.tar.gz
* lib/rexml: 1.9 patch from Sam Ruby mentioned in his blog:
<http://intertwingly.net/blog/2007/12/31/Porting-REXML-to-Ruby-1-9> [ruby-core:14639] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/entity.rb')
-rw-r--r--lib/rexml/entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/entity.rb b/lib/rexml/entity.rb
index ff2d45f39b..1c6a25c410 100644
--- a/lib/rexml/entity.rb
+++ b/lib/rexml/entity.rb
@@ -139,7 +139,7 @@ module REXML
if @parent
matches.each do |entity_reference|
entity_value = @parent.entity( entity_reference[0] )
- rv.gsub!( /%#{entity_reference};/um, entity_value )
+ rv.gsub!( /%#{entity_reference.join};/um, entity_value )
end
end
return rv