Announcement

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

#1 2010-05-25 09:05:29

tbertrand
New member
Registered: 2010-05-25
Posts: 3

table properties are lost

Hi,

I'm a newbie, I'm using Xinha 0.96.1 and Firefox 3.6.3.

I created a table, with solid 1px borders.

I save the generated HTML code in a database.

When I later open this code again (by putting it beteween the textarea tags), it doesn't show me the borders. The generated HTML code seems fine to me, but it seems it isn't interpreted by Xinha.

The generated code is :
<table cellpadding=\"5\" style=\"width: 100%; border: 1px solid #000000; border-collapse: collapse;\">  <tbody>  <tr>  <td style=\"border: 1px solid #000000;\"> ITEM1</td>  <td style=\"border: 1px solid #000000;\"> ITEM2</td>  <td style=\"border: 1px solid #000000;\"> ITEM3</td>  </tr>  <tr>  <td style=\"border: 1px solid #000000;\"> ITEM4</td>  <td style=\"border: 1px solid #000000;\"> ITEM5</td>  <td style=\"border: 1px solid #000000;\"> ITEM6</td>  </tr>  </tbody>  </table>

Any idea ?

Offline

#2 2010-05-25 21:37:09

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: table properties are lost

Why do you have \" ?

You are using htmlspecialchars and not addslashes, right?


James Sleeman

Offline

#3 2010-05-25 21:37:38

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: table properties are lost

NB: Assuminng you are using PHP and that you do not have magicquotes on!


James Sleeman

Offline

#4 2010-05-29 06:04:10

tbertrand
New member
Registered: 2010-05-25
Posts: 3

Re: table properties are lost

yep gogo, you're right i didn't have magicquotes on, problem solved, thanks !!

Offline

Board footer

Powered by FluxBB