• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
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

ItemTemplate
Summary Commentplugin: Optionally change newlines to br tags
ReportedBy TWiki:Main.PeterThoeny
Codebase

SVN Range Wed, 12 Jul 2006 build 11001
AppliesTo Extension
Component CommentPlugin
Priority Enhancement
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r7 - 2007-06-24 - TWikiUserMapping_WillNorris
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback