title: PHP html_entity_decode is not displaying HTML text properly
body: <p>I am not sure what i am doing wrong and being just a starter in PHP i am not sure if my approach is correct or not.
  I am using TinyMCE Editor to store some text in database and will display this text in Browser in my WordPress powered site.</p>
  
  <p>This is the text actually getting stored in database</p>
  
  <pre><code>&amp;lt;strong&amp;gt;Well we should think about how to see this editor&amp;lt;/strong&amp;gt;
  &amp;lt;ul&amp;gt;
      &amp;lt;li&amp;gt;Its Good in nature&amp;lt;/li&amp;gt;
      &amp;lt;li&amp;gt;Well Matured&amp;lt;/li&amp;gt;
      &amp;lt;li&amp;gt;Easy to use.&amp;lt;/li&amp;gt;
  &amp;lt;/ul&amp;gt;
  &amp;lt;strong&amp;gt;&amp;lt;span style=\&amp;quot;color: #ff0000;\&amp;quot;&amp;gt;We should use this editor every now and than&amp;lt;/span&amp;gt;&amp;lt;/strong&amp;gt; &amp;lt;span style=\&amp;quot;color: #333333;\&amp;quot;&amp;gt;©&amp;lt;/span&amp;gt;
  
  This is going to be a heading to test it
  &amp;lt;h1 style=\&amp;quot;text-align: right;\&amp;quot;&amp;gt;&amp;lt;/h1&amp;gt;
  </code></pre>
  
  <p>Sorry for such encoded text, i am using PHP's <code>html_entity_decode</code> method to send that text back to browser to get displayed.
  This is my function call</p>
  
  <pre><code>html_entity_decode($event-&gt;Description,ENT_QUOTES,'UTF-8')
  </code></pre>
  
  <h2>HTML Output</h2>
  
  <pre><code>&lt;font color="#cc0000"&gt;'&lt;strong&gt;Well we should think about how to see this editor&lt;/strong&gt;
   &lt;ul&gt; 
    &lt;li&gt;Its Good in nature&lt;/li&gt; 
    &lt;li&gt;Well Matured&lt;/li&gt; 
    &lt;li&gt;Easy to use.&lt;/li&gt; 
    &lt;/ul&gt;
    &lt;strong&gt;
    &lt;span style=\"color: #ff0000;\"&gt;We should use this editor every now and than&lt;/span&gt;&lt;/strong&gt; 
    &lt;span style=\"color: #333333;\"&gt;©&lt;/span&gt; 
    This is going to be a heading to test it 
    &lt;h1 style=\"text-align: right;\"&gt;&lt;/h1&gt;'&lt;/font&gt;
  </code></pre>
  
  <p>Everything seems to be in place except the colors information.Colors are not working in the generated HTML output</p>
  
  <p>Can anyone help me to understand where i am doing wrong seems like either i am not decoding it properly or some other thing i am missing which is sending wrong HTML from my php function call</p>