When you use the
CommentPlugin to feed content into a TWiki table you need to make sure that you do not introduce newlines, or you would break the table. That is, with the current spec you cannot use a multiline input field (aka text area) and supply that into a table cell.
I would be useful if there is a switch where you can tell the Plugin to convert newlines into
<br /
tags.
Because of this, I had to revert Crawford's change to the
TWiki:TWiki04.UserCommentsTemplate#Plugins_TWikiExtensionAppraisal
template.
--
PTh
Hm, if the TWiki tables would have been combined/implemented with
TWiki:Plugins.RecursiveRenderPlugin
functionality in mind there never had occured problems with newlines in table cells. But of course this would have needed yatm (yet another table markup) and had had great performance impacts.
One always will have problems with newlines till the markup is more strict, but than it won't be Wiki any more. We'll have to find a proper compromise.
--
FJ
I hummed and hawed about this for ages, and tried some experiments; but I think on balance that it's better that the comment plugin templates behave the same as any other template. As long as you can do everything you need to, that is.
No action.
CC
I find this unfortunate.
VarSEARCH has a
newline="%BR%"
so that it is possible to put a search result into a table cell. The same could be done with text users enter into a comment box.
--
PTh