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



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

def normalize_text!
  xpath('//text()').each(&:normalize!)
end