Question

I've been struggling with this for a while and I decided to ask for help. I don't understand why this is happening, when I use FCK editor to upload images and then I save the changes, the images are rendered with strange slashes. I don't know if this has to do with magic quotes (I'm using php to drive the site). Here's an example of the markup I'm talking about:

<img alt="\&quot;\&quot;"     src="\&quot;http://www.cesaisc.com/archivos_filemanager/image/esquema_preparatoria.jpg\&quot;"    style="\&quot;width:" 890px;="" height:="" 489px;\"="">

As a result, obviously the image doesn't show up in the page. ¿Has anybody had this problem? I would appreciate some orientation as to why this is happening.

Was it helpful?

Solution

FCK editor sometimes requires to use stripslashes when outputing data, since it adds them before saving data to the DB.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top