Class: Nokogiri::XML::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/dor/utils/ng_tidy.rb

Instance Method Summary collapse

Instance Method Details

#normalize_text!Object


15
16
17
# File 'lib/dor/utils/ng_tidy.rb', line 15

def normalize_text!
  self.xpath('//text()').each { |t| t.normalize! }
end