added  collect_html_fragments.rb