I am very confused why my html tags are getting converted into html entities. I checked in my database and it is non-encoded HTML, but when I load the page it shows raw html code.
I am trying to embed youtube videos but when I paste and submit the form it stores non-encoded html in database, but when i load that page in browser it shows raw html code.
What it should be:
<object width="640" height="385">
<param name="movie" value=" name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src=" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed>
</object>
When I see in firebug it shows:
<object width="640" height="385">
<param name="movie" value=" name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src=" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed>
</object>
Where is the mistake?
I remember having this issue a while back, I believe it might be related to the type of info in the DB you have it set as. LongText or ASCII or something like that. Have you tried changing that?