Bug #8302 » text_normalize.patch
lib/rexml/text.rb | ||
---|---|---|
doctype.entities.each_value do |entity|
|
||
copy = copy.gsub( entity.value,
|
||
"&#{entity.name};" ) if entity.value and
|
||
not( entity_filter and entity_filter.include?(entity) )
|
||
not( entity_filter and entity_filter.include?(entity.name) )
|
||
end
|
||
else
|
||
# Replace all ampersands that aren't part of an entity
|
- « Previous
- 1
- 2
- Next »