By design, a tcat table should be played above the main table, since {{{t}}} exists. However, this is failing. Instead of the table being placed before the main table code as its supposed to, it is being placed at the END of the main table code... which puts the tcat table INSIDE the {{{4}}} thead. Example on this link:
Look at the first table on that page. See how there is a table under "NOTES"? That table is supposed to be ABOVE the table, and span the same width as the 4 columns. This is how it worked in 2.5.3...
This is another nesting issue in 2.5.3 and 2.5.4 (that you didn't notice because you had reverted to a 2.5.2 version of the file, and that we didn't notice because the test template you originally gave us didn't have the TCAT in a separate TABLE).
A general note: This only occurs for TABLE templates that don't include both the opening and closing tag in the same template. vBulletin doesn't like this practice at all, so we are trying to hide it from vBulletin as best we can. Remember you can avoid similar issues by avoiding BB-Code fragments in general.
Even though you don't like file edits, I'm required to post them in case other users have the same issue. In vault/special_class_bbcode.php, find:
Code:
$this->node_num++;
Add after:
Code:
if ($node['name'] == 'noedit')
{
continue;
}
This essentially skips the line break fix added in 2.5.4. The following moves the fix so it still does its job. Find:
Code:
if ($node['name'] != 'noedit')
{
$parse_options['strip_space_after'] = 0;
}
This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.