Item13167: layout problem of tables within lists
Priority: Urgent
Current State: Closed
Released In: 2.0.0
Target Release: major
... as used so often all over the standard Foswiki documentation.
Tables break the list parser. Also: switching this markup from wysiwyg to wiki text breaks the code as well.
This does not happen using old
TablePlugin.
However, it turns out that switching off both -
TablePlugin as well as
JQTablePlugin - will render tables in list incorrect.
I'd assume that
TablePlugin was masking a problem of the default table renderer part of the core.
From
System.VarTABPANE
You type:
* Example: see JQueryTabpane for more examples
* Parameters:
%TABLE{sort="on"}%
| *Parameter:* | *Description:* | *Default:* |
| select | number or id of tab to select | 1 |
| automaxexpand | resizes the tabpane to the maximum height to fit into the window | off |
| minheight | when automaxexpand is enabled, this is the minimum size a tab is allowed to be resized | 230 |
| class | extra class: use =simple= for a non-3D tabpane | |
| animate | (on/off) enables/disables animation of switching tabs | off |
* Related: [[VarTAB]], [[VarENDTAB]], [[VarENDTABPANE]], JQueryPlugin, JQueryTabpane
You get:
But should be:
After reviewing the code it seems both the Foswiki core table renderer and the
TablePlugin renderer don't agree wether
tables should either close a list or not. Unit tests make this more explicit. As most users as well as current Foswiki docu expects
tables
not to close a list, the core renderer shouldn't either.
--
MichaelDaum - 18 Dec 2014