NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item10050: CommentPlugin prompt adds newlines that prevent COMMENT inside TML tables
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
Closed |
Extension |
CommentPlugin |
|
CommentPlugin prompt adds newlines that prevent COMMENT inside TML tables
We have for some reason plenty of \n added. Make the source HTML look nice but breaks TML tables
Also CGI::start_form adds \n so must be removed.
I use COMMENT in tables like this
Template
---+++ signature
Comments, signed and dated, at the the anchor/location/COMMENT
%TMPL:DEF{PROMPT:signature}%<input %DISABLED% type="text" size="30" name="comment" value="Approved" class="foswikiInputField" /><input %DISABLED% type="submit" class="foswikiButton" value="%button|Add Signature%" />%TMPL:END%
%TMPL:DEF{OUTPUT:signature}%%POS:BEFORE%%WIKIUSERNAME% - %SERVERTIME% - %URLPARAM{"comment" encode="off"}%%TMPL:END%
Example use
| Greg Brun |
GeorgeClark - 15 Jan 2012 - 20:21 - Approved |
| Gene Delayed |
|
where the COMMENT tag is
%COMMENT{type="signature" remove="on"}%
Example requires local install of template
--
KennethLavrsen - 18 Nov 2010