Welcome Guest, Not a member yet? Register   Sign In
How to make CI not to escape automatically with queries
#1

[eluser]shinokada[/eluser]
I am making a content entry with TinyMCE.
However the output source is like the following and does not show < and >. Instead it shows HTML enties like &lessthan; and &greaterthan; etc.


How can I make CI not to do it in a certain area or page?

Code:
&lt;p&gt;&lt;img src=&quot;images/icon1.png&quot; border=&quot;0&quot; alt=&quot;icon&quot; width=&quot;48&quot; height=&quot;48&quot; /&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit.
#2

[eluser]Damien K.[/eluser]
You sure it is not encoded by TinyMCE?
#3

[eluser]shinokada[/eluser]
I used html_encode and it works now.
Thanks.




Theme © iAndrew 2016 - Forum software by © MyBB