summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/ruby/files')
-rw-r--r--dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff b/dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff
index fdd0112d5b44..a82790341505 100644
--- a/dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff
+++ b/dev-lang/ruby/files/ruby-1.8.6_p287-entity_expansion_limit.diff
@@ -50,7 +50,7 @@ Index: lib/rexml/entity.rb
# all entities -- both %ent; and &ent; entities. This differs from
# +value()+ in that +value+ only replaces %ent; entities.
def unnormalized
-+ document.record_entity_expansion
++ document.record_entity_expansion unless document.nil?
v = value()
return nil if v.nil?
@unnormalized = Text::unnormalize(v, parent)