title: a more graceful multi-line javascript string method
body: <p>The only way I know how to print a huge string without using += is to use \ backslashes. ugly!</p>
  
  <pre><code>&lt;div id="foo"&gt;&lt;/div&gt;
  &lt;script type="text/javascript"&gt;
  var longString = '&lt;div id="lol"&gt;\
          &lt;div id="otherstuff"&gt;\
              test content. maybe some code\
          &lt;/div&gt;\
      &lt;/div&gt;';
  
  document.getElementById('foo').innerHTML = longString;
  &lt;/script&gt;
  </code></pre>
  
  <p>is there any way to do this where the longString is untainted? php has $foo = ''' long multiline string '''; I want this in javascript!</p>
  
  <p><strong>Anyone know of a better method for printing long, multi-line strings in javascript?</strong></p>