Announcement

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

#1 2009-08-04 06:32:13

swvanderlaan
New member
From: Utrecht
Registered: 2009-08-04
Posts: 2
Website

HTML code

Hi,

So I have installed this tool. It's great, but when I want to edit a text something happens with the underlying html-coding, which I desperately want to change. I can't find it though where to do that.

This is the issue.

I type House's. Than this is saved as a html-code: <html>House\'s</html> and this is displayed as House\'s. This also happens when entering url-links. I can't find where to change this.

Can someone please help me out?

Cheers,

Sander

Offline

#2 2009-08-06 08:53:34

mcgiant
New member
Registered: 2009-07-29
Posts: 7

Re: HTML code

Hi swvanderlaan,

Have you checked your "magic_quotes_gpc" variable in your php configuration ?
Is it "Off" ?

Offline

#3 2009-08-06 09:24:59

swvanderlaan
New member
From: Utrecht
Registered: 2009-08-04
Posts: 2
Website

Re: HTML code

Euh, can't really change that though, wether it is on or off. So no, I haven't checked it. Not sure how to do, as I don't really have control of the server. I tell someone to put my site online and that's about it.

Can't I change it somewhere in the code of Xinha?

Offline

#4 2009-08-06 10:42:15

mcgiant
New member
Registered: 2009-07-29
Posts: 7

Re: HTML code

To know which value has your variable, type

echo get_magic_quotes_gpc();

in a php page.
If it's on, you have to put it off, well, contact your Administrator.

The other solution is :

$your_variable=stripslashes($your_variable);
// $your_variable is the variable which contains the html-code

Offline

Board footer

Powered by FluxBB