title: Adding html break to each line in Ruby
body: <p>What I basically have here is a short ruby script (I just started learning) and the purpose of it is to spider-crawl a website and return all the links it finds.</p>
  
  <pre><code>@sites = Array.new
  Anemone.crawl("http://www.nemecisco.com/") do |anemone|
    anemone.on_every_page do |page|
      puts page.url
      @sites&lt;&lt;page.url+""  #heres where i add something to give it a line break i think
    end
    anemone.after_crawl { puts @sites }
  end
  end
  </code></pre>
  
  <p>It does this fine, however when Its being outputted to the HTML, they are all clustered together as it trys to jam them on the one line.
  The HTML is just the array inside the ruby script tag.</p>
  
  <pre><code>&lt;%= @sites %&gt;
  </code></pre>
  
  <p>You may notice that the array is composed of the pages name + something else. I figured a break tag would be enough but Ruby doesn't like this and gives a bad URI exception.</p>
  
  <p>Has anyone any ideas on how to put a line break after each site statement. In the HTML declaration? in the array? Any and all help appreciated.</p>