title: Comparing two HTML strings
body: <p>I have a website that makes use of TinyMce. The <code>getcontent()</code> function of TinyMce returns the content of the TinyMce as a string, like for example:</p>
  
  <pre><code>&lt;p&gt;Test&lt;img src="../../../files/a54f58ca-56e1-4e6a-acf5-1cccebe51dc1/FY17/img/21c17e0e-b433-42de-97c7-cf0194fc7ac4" /&gt;&lt;/p&gt;
  </code></pre>
  
  <p>And if I try to get the content from the DOM I get the following HTML also as a string:</p>
  
  <pre><code>&lt;p&gt;Test&lt;img src="/files/a54f58ca-56e1-4e6a-acf5-1cccebe51dc1/FY17/img/21c17e0e-b433-42de-97c7-cf0194fc7ac4"&gt;&lt;/p&gt;
  </code></pre>
  
  <p>They are both the same HTML, just slightly different in how they are typed. I want to compare both strings and want to make sure that both are equal in terms of HTML, how would I accomplish this in C#?</p>
  
  <p>I have been thinking to maybe use regex to match this, but I'm unsure if that's the proper approach.</p>