質問

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.

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top