# File scripts/parsing-rules.rb, line 199 def apply(text) atts = super(text) atts.each do |f,v| if subst_rules.has_key?(f) old, new = subst_rules[f] new_val = v.sub(old, new) atts[f] = new_val end end return atts end