title: Preserve \r\n on XElement.Load
body: <p>Is there a way i can preserve\r\n on XElement.Load().</p>
  
  <pre><code>  TextReader reader = new StringReader(rawInputString);//rawInputString is just text in html format
      XElement root = XElement.Load(reader);
  </code></pre>
  
  <p><strong>Edit :</strong></p>
  
  <pre><code>string  rawInputString =  "&lt;Html&gt;&lt;Body&gt;&lt;p&gt;&lt;/p&gt; \r\n &lt;p&gt;&lt;/p&gt;\r\n \r\n \r\n &lt;/Body&gt;&lt;/Html&gt;";
  </code></pre>
  
  <p>After XELement.Load the output i want is the same when i do root.ToString() :</p>
  
  <pre><code>"&lt;Html&gt;&lt;Body&gt;&lt;p&gt;&lt;/p&gt; \r\n &lt;p&gt;&lt;/p&gt;\r\n \r\n \r\n &lt;/Body&gt;&lt;/Html&gt;"
  </code></pre>
  
  <p>For Now it just cleans/removes up the \r\n</p>