title: HtmlAgilityPack file loading
body: <p>I have a problem, when I trying to load file from filesystem. Issue that in value of some HTML control I have less than sign "&lt;" inside span value</p>
  
  <pre><code>HtmlDocument doc = new HtmlDocument();
  doc.OptionReadEncoding = true;
  
  //StreamReader str = new StreamReader(fileName, Encoding.UTF8);
  StreamReader str = new StreamReader(@"E:\HTMLS\OEL\1030,1.html",Encoding.UTF8,true);
  
  doc.Load(str.BaseStream, Encoding.ASCII);
  //string streamString = str.ReadToEnd().
  str.Close();
  //all nodes
  
  doc.DocumentNode.Descendants().Where(x =&gt; x.Name == "#text" &amp;&amp; (x.InnerText == "\r\n\t" || x.InnerText == "\r\n" || x.InnerText == "\r\n\t\t")).ToList().ForEach(x =&gt; x.Remove());
  List&lt;HtmlNode&gt; listHtmlNode = doc.DocumentNode.Descendants("table").ToList();
  </code></pre>