These methods contain the line
$format .= '$name' unless $format =~ /\$name/;
History:
------------------------------------------------------------------------
r1405 | peterthoeny | 2004-03-20 10:51:33 +0000 (Sat, 20 Mar 2004) | 2 lines
Fixes for Codev.MinorXHTMLNonComplianceInTemplates; allow pre-select multiple for WEBLIST variable
This means that if you call %WEBLIST{"Sausages"}% you get this:
Sausages
Sausages
Sausages
Sausages
Sausages
Sausages
This is undocumented behaviour, and I can only think the intent was possibly to fix some other undocumented
TWikiApplication.
I think _WEBLIST and _TOPICLIST should be fixed to
$format ||= '$name';
CC
Crawford, could you please use a language that promotes collaboration, I like to keep TWiki.org a place where everyone is welcome.
--
PTh
Darn englishmen, can't live with them, can't live without them. CC, you can be a scary beast to wrestle with, remember to show us (and all the Dakar-eyes resting on TWiki at the moment) you're not 100% dark side - all the time
--
SP
Sorry, Peter, I didn't mean to be offensive. I sometimes forget in the rush that most people are not used to the hardy banter we have got used to over the last year or so.
Should the code be retained or not?
Oh, and BTW, I am not English.
CC
I'll leave that to the two of you - "When elephants fight, grass gets trampled".
But huh - I'm not about to give up a good prejudice here in free will - Scottish / Irish? The Clan Currie? - Throw some details!
--
SP
Scots.
http://www.clancurrie.com/
CC
Well, I'm not getting any feedback on this, so I'm going to change the code and see what happens.
SVN 8208
CC
Change seems to work as expected, sample at
MultipleSelectionWebList
--
PTh