Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2008-10-16 10:25:55

andy_k
New member
Registered: 2008-10-16
Posts: 3

problem when loading saved content

Hi!
I managed to make xinha load a file and also save this file, but something doesn't work with the formatting of texts,inserting pics...
I tried to save this: (html editor view)
<html><head>
  </head>
  <body><strong><span></span><span style="color: #ff0000;">test</span><br /></strong> </body>
</html>
But it saves this:
<html><head>
  </head>
  <body><strong><span></span><span style=\"color: #ff0000;\">test</span><br /></strong> </body>
</html>

I don't understand where the 2 "\" come from.
xinha 0.95
Browser: FF3
no js Errors
plz help

Last edited by andy_k (2008-10-16 10:26:43)

Offline

#2 2008-10-16 10:50:44

nicholasbs
Moderator
Registered: 2008-08-12
Posts: 16

Re: problem when loading saved content

Hi Andy,

Weird. It looks like something's trying to escape the quotes around your style attribute, but I'm not sure what. How're you saving the file? Are you using the SaveSubmit plugin or something else?

Offline

#3 2008-10-16 10:57:17

andy_k
New member
Registered: 2008-10-16
Posts: 3

Re: problem when loading saved content

got it!
called magic quotes and is predefined by php
http://us3.php.net/manual/en/security.magicquotes.php

Offline

#4 2008-10-16 11:00:44

nicholasbs
Moderator
Registered: 2008-08-12
Posts: 16

Re: problem when loading saved content

Great! Glad to hear it smile

Offline

Board footer

Powered by FluxBB