title: Replace double quotes in HTML avoiding tags
body: <p>My problem is the same of this request: <a href="https://stackoverflow.com/questions/22589725/replace-all-quotes-that-are-not-in-html-tags">Replace all quotes that are not in html-tags</a>.</p>
  
  <p>Howeaver, the solution provided to that request not works for all cases. Example: In this HTML fragment the first quoted text is matched, but the second is not. Howeaver the quotes aren't into a tag.</p>
  
  <p><code>&lt;p&gt;This quote is matched: "Hello, I'm a quote". &lt;strong&gt;But this it not: &lt;i&gt;"&lt;strong&gt;I'm also a quite :(&lt;/strong&gt;"&lt;/i&gt;.&lt;/p&gt;</code></p>
  
  <p>See my demo here: <a href="http://regex101.com/r/tA0xV1" rel="nofollow noreferrer">http://regex101.com/r/tA0xV1</a></p>
  
  <p>EDIT: The HTML is strictly validated.</p>