title: Why can't I add a <br /> with JQuery .html?
body: <p>Why does this code work:</p>
  
  <pre><code>$('div.error_container').html('&lt;div class="error"&gt;No more foo allowed&lt;/div&gt;');
  </code></pre>
  
  <p>But this code causes an error:</p>
  
  <pre><code>$('div.error_container').html('&lt;div class="error"&gt;No more foo allowed&lt;br /&gt;&lt;/div&gt;');
  </code></pre>
  
  <p>I've tried putting the <code>&lt;br /&gt;</code> before and after the <code>&lt;/div&gt;</code> tag, same error.  I've tried changing it from <code>&lt;br /&gt;</code> to <code>&lt;br&gt;</code>.  Chrome always says the following in the inspector:</p>
  
  <pre><code>Uncaught SyntaxError: Unexpected token ILLEGAL
  </code></pre>