title: HTML Formatting in RichTextBox
body: <p>I've been working with HTML strings obtained from an XML file. I'm trying to figure out a way to display these strings in a richtextbox with formatting. 
  So
  e.g.</p>
  
  <pre><code> &lt;p&gt;This is a &lt;strong&gt;HTML&lt;/strong&gt; string from the &lt;em&gt;XML&lt;/em&gt; file&lt;/p&gt;
  </code></pre>
  
  <p>or </p>
  
  <pre><code> &lt;p&gt;This is our &lt;span style="text-decoration: underline;"&gt;response&lt;/span&gt;&lt;/p&gt;
  </code></pre>
  
  <p>Should be displayed in the richtextbox like so:</p>
  
  <p>This is a <strong>HTML</strong> string from the <em>XML</em> file</p>
  
  <p>This is our response &lt;&lt;-- this should be underlined </p>
  
  <p>I'm not too sure how to go about with this. And I'm not too sure as to how the WebBrowser class would work here as the HTML strings are individual, and won't form a complete HTML file. </p>
  
  <p>Additionally, I need a way to reverse the formatting (HTML encode) once any changes are made in the richtextbox as they'll be written back to the XML file. </p>
  
  <p>Is there a way for me to achieve this? I really could use the help. I'm stumped. </p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>If it helps, here's the part of the XML where I get my strings from (something similar to this). </p>
  
  <pre><code>&lt;Field id="13598" type="1"&gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;This &amp;lt;/strong&amp;gt;is our &amp;lt;em&amp;gt;response&amp;lt;/em&amp;gt;&amp;lt;/p&amp;gt;&lt;/Field&gt;
  </code></pre>
  
  <p>I'm basically trying to allow users to edit and save the string in Field. </p>
  
  <p><strong>EDIT 2:</strong></p>
  
  <p>I've managed to use a WebBrowser control to sort of fulfill my requirements, but I'm facing a new problem. Have a look here:
  <a href="https://stackoverflow.com/questions/13410067/editing-html-with-a-wysiwyg-editor">Editing HTML with a WYSIWYG Editor</a>
  Any help would be greatly appreciated! </p>