# File bin/t2_webapp.rb, line 137
    def generate_html_result(data)
      html = ""
      #p data
      if data.instance_of? Array
        html = data.flatten.join('<br>')
      elsif data.instance_of? String
        html = data.gsub(/[\n]/, '<br>')
      else
        html = data
      end
      html
    end