Introduced by
Item4294, SVN r14279.
You type:
* list
| table |
* list
You get (currently):
That's the markup (currently):
<ul> <!-- open ul -->
<li> list
<table> <!-- open table -->
<tr><td> table </td></tr>
</li>
</ul> <!-- close ul ... OUTCH -->
</table> <!-- close table ... OUTCH -->
<ul>
<li> list </li>
</ul>
Browsers react differently on this markup not being nested properly.
The fix is:
--- lib/TWiki/Plugins/TablePlugin/Core.pm (revision 14319)
+++ lib/TWiki/Plugins/TablePlugin/Core.pm (working copy)
@@ -1358,7 +1358,7 @@
$rowCount++;
} # foreach my $row ( @curTable )
- $text .= $currTablePre . "\n" . CGI::end_table() . "\n";
+ $text .= $currTablePre . CGI::end_table() . "\n";
_setDefaults();
return $text;
}
--
TWiki:Main/MichaelDaum - 06 Jul 2007