Zendcasts Forum

A community of developers who work with the Zend Framework and other enterprise PHP technologies

You are not logged in.

#1 2010-02-25 14:18:37

alessio
Member
Registered: 2009-08-07
Posts: 27

ckeditor and link

I have a problem, i insert in my project ckeditor for create a page, but i have a problem, i insert in my textarea (ckeditor) this code

<a href="http://www.alessio.it">adsfadsfdsf</a></p>

click save and my text insert in a database, but write this code in db

<a href="\&quot;http://www.alessio.it\&quot;">adsfadsfdsf</a></p>

why??

Offline

#2 2010-02-25 14:35:15

Jon Lebensold
Administrator
Registered: 2009-06-27
Posts: 279

Re: ckeditor and link

looks like you're running $this->escape() on the input... you actually want to just do a stripslashes() and call it a day or look at HTMLPurifier,

Offline

#3 2010-02-25 14:56:26

alessio
Member
Registered: 2009-08-07
Posts: 27

Re: ckeditor and link

can i disable this operation??

Offline

Board footer

Powered by FluxBB