I am having a small issue with displaying text that has been converted with htmlspecialchars. In the db I have this:
<b&gt;Testing:</b&gt;<br&gt;<ol&gt;<li&gt;it's a test<br&gt;</li&gt;</ol&gt;
When I use:
echo htmlspecialchars_decode($variable);
The page displays:
<b>Testing:</b><br><ol><li>it's a test<br></li></ol>
I am not sure why this is happening. Any help is appreciated. Thank you