title: Weird rendering of .html.erb file
body: <p>So I have this file:</p>
  
  <pre><code>&lt;h1&gt;Calendar view&lt;/h1&gt;
  
  &lt;div class="events"&gt;
      &lt;% @events.each do |e| %&gt;
          &lt;%= raw(e.content)%&gt;
      &lt;% end %&gt;
  &lt;/div&gt;
  
  
  &lt;br /&gt;
  &lt;div class="messages"&gt;
      &lt;% @messages.each do |m| %&gt;
          &lt;%= raw(m.content)%&gt;
      &lt;% end %&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>With @events and @messages being valid instance variables in the controller...but when I go to the page the html looks like this:</p>
  
  <pre><code>&lt;h1&gt;Calendar view&lt;/h1&gt;
  
  &lt;div class="events"&gt;
      &lt;br&gt;
        &lt;div class="messages"&gt;
          This is another message test
        &lt;/div
      Event Content
  
  &lt;/div&gt;
  </code></pre>
  
  <p>I'm confused. Maybe I'm missing something obvious?</p>