title: RichTextBox ignores newlines
body: <p>I am reading from an XML file and updating a RTB as you could see. This happens during form load. The trouble is the newlines aren't getting processed properly. The RTB is supposed to show urls generated by my application previously and since the newlines get ignored the url's get completely mangled like this:</p>
  
  <blockquote>
    <p><code>http://XXXXXXXXX.com/Roberto/XXXXXXXXX.pdfhttp://xxxxxxxxxx.com/Roberto/xxxxxx.pdf</code></p>
  </blockquote>
  
  <pre><code>public Form1()
  {
    InitializeComponent();
    tabControl1.SelectTab("tabPage1");
    XmlDocument doc = new XmlDocument();
    doc.Load(Path.GetTempPath() + "/Uploads.xml");
    XmlNodeList nl = doc.GetElementsByTagName("Uploads");
    foreach (XmlNode node in nl)
    {
      richTextBox1.AppendText(Environment.NewLine + node.InnerText + 
                                                    Environment.NewLine +"\t");  
    }
    this.listBox1.DragDrop += new DragEventHandler(this.listBox1_DragDrop);
    this.listBox1.DragEnter += new DragEventHandler(this.listBox1_DragEnter);
  }
  </code></pre>
  
  <p>XML file </p>
  
  <pre><code>&lt;Uploads&gt;
    &lt;upload&gt;http://xxxxxxxxxx.com/Roberto/xxxxxxxxx.pdf&lt;/upload&gt;
    &lt;upload&gt;http://xxxxxxxxxx.com/Roberto/xxxxxxxxx.pdf&lt;/upload&gt;
  &lt;/Uploads&gt;
  </code></pre>