title: Render raw html in response with Express
body: <p>I would like to know how to render a raw HTML string in a response with Express.</p>
  <p>My question is different from the others because I am not trying to render a raw HTML template; rather I just want to render a single raw HTML string.</p>
  <p>Here is what I have tried in my route file.</p>
  <pre><code>router.get('/myRoute', function (req, res, next) {
    var someHTML = &quot;&lt;a href=\&quot;foo\&quot;&gt;bar&lt;/a&gt;&quot;
    res.send(someHTML);
  });
  </code></pre>
  <p>But when I point my browser to this route, I see a hyperlink, instead of a raw HTML string. I have tried to set the content-type to text by doing: <code>res.setHeader('Content-Type', 'text');</code> with no avail.</p>
  <p>Any suggestions?</p>