TWiki:Sandbox.WebHome had this:
<table><tr><td valign="top">
%TABLE{ name="example" }%
| *Year* | *2001* | *2002* | *2003* | *2004* | *2005* |
| *Low* | 8 | 10 | 13 | 17 | 22 |
| *Target* | 10 | 12 | 17 | 20 | 25 |
| *High* | 12 | 15 | 19 | 24 | 29 |
| *Actual* | 9 | 14 | 15 | 19 | 27 |
</td><td valign="top">
%CHART{ type="combo" subtype="pline, pline, pline, bar" name="lineexample" table="example" data="R2:C2..R5:C6" xaxis="R1:C2..R1:C6" legend="R2:C1..R5:C1" width="300" height="160" }%
</td></tr></table>
After editing the topic with the WYSIWGY editor I get this:
| %TABLE{ name="example" }%
<TABLE cellspacing="1" cellpadding="0" border="1">
*Year* *2001* *2002* *2003* *2004* *2005*
*Low* 8 10 13 17 22
*Target* 10 12 17 20 25
*High* 12 15 19 24 29
*Actual* 9 14 15 19 27
</TABLE>
<p /> | %CHART{ type="combo" subtype="pline, pline, pline, bar" name="lineexample" table="example" data="R2:C2..R5:C6" xaxis="R1:C2..R1:C6" legend="R2:C1..R5:C1" width="300" height="160" }%
<p /> |
See example at
TWiki:Sandbox/WysiwygTest (see normal diff and rdiff with
?render=debug
)
(I did a workaround to get a side-by-side display by removing the HTML table and adding an =align="right" to the chart.)
Other people probably run also into this bug.
--
PTh
Again, you are asking a lot of the HTML to TML translation to reverse engineer TML out of complex HTML. TML is a lossy format, and it is quite simply impossible to reverse-engineer your intent out of HTML in many cases, and this is one. This will not be fixed; discarding.
CC