Priority: Normal
Current State: Closed
Released In: 1.1.3
Target Release: patch
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