This input filter is less than "full HTML". I cannot for the life of my get:
<tr>'s
<td>'s

To pass through.

My filter is to "not strip" the flollowing tags

<a> <em> <strong> <cite> <code> <b> <strikethrough> <font> <u> <i> <ul> <ol> <li> <dl> <dt> <dd> <img> <td> <tr> <tbody> <table> <span> <div> <br>

The order that I have the tags in doesn't make a difference.

The correct filter is assigned to the correct roles.

Any Ideas on how to get table rows and table data to be allowed?

Comments

Steven’s picture

If you want freeform HTML, just remove the HTML filter from that input format. But I am not aware of such a table-specific bug, as we use the standard PHP functions. Check for typoes and spaces in the tag list.

--
If you have a problem, please search before posting a question.

JoeManFoo’s picture

I've spent 3 hours searching and reading, was the reason I placed "'Full HTML' input format" in the subject line so the next poor guy can find an answer without 20 pages of results - at least that's the hope.

What do you mean by "just remove the HTML filter from that input format"?

By default, there are three input formats, "Filtered HTML", "PHP Code" and "Full HTML".

The site default is "Filtered HTML" with "Full HTML" selected and assigned to specific user roles (default filtered html for anonymous user, and full HTML for everyone else).

I've gone through and removed the "HTML filter" from the "Full HTML" filter, but still no dice, the only thing that remains from a &kt;table> is the table tag itself.

Guess I should say that I'm running 4.5.2

Aran Deltac’s picture

Could you provide a link to your site so we can see this error in action?

--
http://www.electroniclife.org/

JoeManFoo’s picture

http://www.trindod.com

Username: test
pass: test

Try and enter in a table on the account sig, here's a table to try if you dont want to make one

On the Editor for the HTML Area, make sure you hit the "source" button on it, else it will escape all your tags with &lt; and &gt;.

<table cellspacing="1" cellpadding="1" border="0" bgcolor="666666" style="width: 239px; height: 105px;">
  <tr style="font-weight: bold; font-family: verdana;">
   <td bgcolor="#cccccc" colspan="3"><font size="1">EverQuest II Characters</font></td>
  </tr>
  <tr>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">&nbsp;Kittus</font></td>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">&nbsp;Sorceror / Warlock</font></td>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">&nbsp;15</font></td>
  </tr>
  <tr>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">&nbsp;<a style="color: rgb(0, 0, 0);" href="http://eq2players.station.sony.com/en/pplayer.vm?characterId=188029109" target="_new">Greybeard</a></font></td>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">&nbsp;Cleric / Templar</font></td>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">&nbsp;13</font></td>
  </tr>
  <tr>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">&nbsp;<a style="color: rgb(0, 0, 0);" href="http://eq2players.station.sony.com/en/pplayer.vm?characterId=158019109" target="_new">Rheonry</a></font></td>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">&nbsp;Crusader / Paladin</font></td>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">&nbsp;11</font></td>
  </tr>
  <tr>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">&nbsp;<a style="color: rgb(0, 0, 0);" href="http://eq2players.station.sony.com/en/pplayer.vm?characterId=168025109" target="_new">Raja</a></font></td>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">&nbsp;Brawler / Monk</font></td>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">&nbsp;11</font></td>
  </tr>
  <tr style="font-family: verdana; font-weight: bold;">
   <td bgcolor="#cccccc" colspan="3"><font size="1">World of Warcraft Characters</font></td>
  </tr>
  <tr>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">Rheonry</font></td>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">Paladin</font></td>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">15</font></td>
  </tr>
  <tr>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">Llofrudd</font></td>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">Rogue</font></td>
   <td bgcolor="#eeeeee" style="font-family: verdana;"><font size="1">Lowbie</font></td>
  </tr>
</table>
Aran Deltac’s picture

I just tried adding <table> <tr> and <td> to the input filter on my site and I was able to create tables. Not sure what your problem is. Must be some configuration messup.

--
http://www.electroniclife.org/

JoeManFoo’s picture

I just tried to post a forum comment on my site and the table works fine, so perhaps this is only on the user accounts for their "sigs". Although I've looked in the back end to see if there was a setting to limit the number of character and I've not found one.

Also, if there was a limit to the size of a sig, it's pretty strange that the only text that is being cut out is the stuffs between the table tags (well actually tbody tags)

JoeManFoo’s picture

Its just the sigs...

Users table in the DB is only a varchar of length 255.

intertesting that the "system" is "smart" enough to cut out the extra table rows and cells to the maximum limit of the field length - spooky even.

Aran Deltac’s picture

Weird... I'd like to add that when looking at your site with the test account that the table, td, and tr tags are not enabled. These are the only ones it says are OK:

<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>

--
http://www.electroniclife.org/