# File lib/rubyful_soup.rb, line 339 def render_contents(show_structure_indent=nil) s=[] @contents.each do |c| text = nil if c.is_a? Tag text = c.to_s(show_structure_indent) else text = c.to_s end if text if show_structure_indent text.chomp! end s.push(text) end end return s.join('') end