title: Remove whitespaces and newlines when parsing with HtmlAgilityPack
body: <p>I tried to parse HTML with the HtmlAgilityPack in the following way:</p>
  
  <pre><code>HtmlDocument htmlDoc = new HtmlDocument();
  htmlDoc.LoadHtml(xhtmlString);
  </code></pre>
  
  <p>Unfortunately the xhtmlString contains unnecessary whitespaces and newline characters, so the _text of htmlDoc now looks like this:</p>
  
  <p><code>&lt;html xmlns=\"http://www.w3.org/1999/xhtml\"&gt;\n\t&lt;head&gt;&lt;/head&gt;\n\t&lt;body&gt;\n\n&lt;p&gt;Alle Auktionen&lt;br /&gt;&lt;/p&gt;\n\n\t&lt;/body&gt;\n&lt;/html&gt;</code></p>
  
  <p>This is a problem for me when working with the child elements of the body.</p>
  
  <p>What is the easiest way to remove these unnecessary characters?</p>
  
  <p>Does the HtmlAgilityPack offer some kind of function for cleaning up HTML from newlines and tabs?</p>