* Ashley [EMAIL PROTECTED] [2008-04-18 21:30]:
push(@result,lib$param/b/li);
push(@result,ul);
That’s invalid HTML. You can’t put an `ul` directly inside a
`ul` like that.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
I know. Grabbed it from CGI.pm without checking. It also returns the,
I believe, illegal ul/ul when there are no params. :)
If I ever do anything with it, I promise to fix it.
On Apr 18, 2008, at 7:38 PM, Aristotle Pagaltzis wrote:
* Ashley [EMAIL PROTECTED] [2008-04-18 21:30]:
Hi Ashley,
my $t = sub { my $n = shift; @_ ? join(\n,$n,@_,/$n) : () ) }
my $e = sub { HTML::Entities::encode($_) };
return $t-( ul = map { $t-( li =
$t-( b = $e ),
$t-( ul = map { $t-( li = $e ) } $c-req-param($_) ),
) } $c-req-param );
Untested. But it least it