title: Unexpected Token ILLEGAL - response.write() error
body: <p>As sort of an introduction to node.js for a class, I'm using it to program a cgi script that handles a simple login/logout/userID system. I'm having an issue though, as where I try to use the <code>response.write()</code> method to hand the HTML to the client, I'm receiving an <code>Unexpected Token ILLEGAL</code> error on the quotation mark where I am starting my string:</p>
  
  <pre><code>var response = require('HTTP');
  login = inputReader('QUERY_STRING');
  
  if (login === "false" || login === "logout") {
  response.writeHead(200, {'Content-Type': 'text/html'});
  response.write(
    " &lt;!doctype html&gt;
      &lt;head&gt;
        &lt;title&gt;Session Makes&lt;/title&gt;
        &lt;meta name='Author' content='Sam Judson'&gt;
        &lt;meta name='Contact' content='sjudson@marlboro.org'&gt;
        &lt;link rel='stylesheet' href='SessionMaker.css'&gt;
      &lt;/head&gt;
          &lt;body&gt;
            &lt;h1&gt;The way is shut.&lt;/h1&gt;
            &lt;form action='' method='put'&gt;
              &lt;input type='text' name='login'&gt;
              &lt;input type='submit' name='login' value='Login'&gt;
              &lt;/form&gt;
          &lt;/body&gt;
          &lt;/html&gt; "
  );
  };
  </code></pre>
  
  <p>The error gets thrown at the quotation mark that starts line 7. I've tried just about everything I can (using single instead of double quotes, nesting quotes, removing the quotes, putting the string inside brackets, etc.), but nothing seems to work. The weird thing is I've seen a number of examples on websites doing the exact same thing I'm trying to do, with no such issue.</p>