title: PHPWord how to replace HTML Tags
body: <p>I am creating a word doc using PHPWord. The content of the doc is dynamic and the content may contain HTML Tag like following:</p>
  
  <pre><code>&lt;strong&gt;Problem statement&lt;/strong&gt;
  
  &lt;p&gt;The text may be&lt;em&gt;bold&lt;/em&gt; subject to very peculiar conditions&lt;/p&gt;
  
  &lt;ul&gt;
      &lt;li&gt;Test 1&lt;/li&gt;
      &lt;li&gt;Test 2&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>The doc is creating but the in the doc the content is showing the html tags. </p>
  
  <p>How to replace these tags with proper word document tags so that the word doc shows exactly same as HTML view with proper formatting. </p>