lib/openwfe/expressions/raw_xml.rb in openwferu-0.9.5 vs lib/openwfe/expressions/raw_xml.rb in openwferu-0.9.6

- old
+ new

@@ -121,8 +121,18 @@ end end return c end + + def extract_text_children () + raw_representation.children.collect do |elt| + next if elt.is_a? REXML::Element + next if elt.is_a? REXML::Comment + s = elt.to_s.strip + next if s.length < 1 + s + end + end end end