diff options
Diffstat (limited to 'lib/rexml/entity.rb')
-rw-r--r-- | lib/rexml/entity.rb | 2 |
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 |