title: Newline character working for console.log() but not chrome browser
body: <p>I'm concatenating a bunch of strings from an array together with a new line character after each iteration:</p>
  
  <pre><code>booksList = booksList + library.shelves[i].books[j].name + ", " +
     library.shelves[i].books[j].author + '\n';
  </code></pre>
  
  <p>When I console.log() to chrome it works, but when I use jquery to set the text of a div it doesn't. I'm on a windows comp. Any ideas?</p>
  
  <p>I'm using jquery to set booksList to the text of a div:</p>
  
  <pre><code>$('#libraryDisplay').text(booksList);
  </code></pre>