I have recently had problems with EditTablePlugin
and traced it to
, line 210:
$theFormat = TWiki::Func::expandCommonVariables( $theFormat, $theTopic, $theWeb );
Under certain circumstances, after this
has an extra newline appended, which results in that the table does not correctly reflect the value stored in the topic when we have select, checkbox, or similar restricted types, for the last entry in a row.
We either need to figure out why the extra newline is added, or remove it in
- 23 Mar 2007: Does this also cause the last item in a 1-per-line radio button list to not be formatted? Test case below:
Tried this and it is true. Tried different smilies and same problem. An annoying error because you cannot use Twiki variable either. Limits the use of the plugin heaviliy. Confirmed.
Note - to see the problem simply hit the edit bottons below the tables.
- 03 Oct 2007
Was also raised in Item3800
which I have marked a duplicate.
Since more than one has reported this I think it is a very frequent annoyance and probably an easy regex fix for someone that knows the plugin. Raising to urgent.
The variables need a space on both sides to get expanded. This should be an easy fix. But normal text will get the extra spaces too, and that might not be desired. Take this example (rendered from my test code):
|| item1 , item2 |
We could add the extra spaces only when a variable is used. But smilies have a loose syntax, so in that case a comparison table would be needed.
- 17 Oct 2007
I will stick to the
- 18 Oct 2007