X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/f96e2754fe0d06d10855b8cb33ad2a707e96edc4..05b96f1d0e64293580fd10484092d339b14b56a2:/common.inc.plp diff --git a/common.inc.plp b/common.inc.plp index e48cd2c..fb1d54a 100644 --- a/common.inc.plp +++ b/common.inc.plp @@ -57,7 +57,6 @@ sub Html { ref $_ eq 'ARRAY' and $_ = join ' ', @$_ for $meta->{description}; ref $_ eq 'ARRAY' and $_ = join ', ', @$_ for $meta->{keywords}; ref $_ eq 'ARRAY' and $_ = join "\n", @$_ for $meta->{rawstyle}, $meta->{raw}; - ref $_ eq 'ARRAY' and $_ = stylesheet(@$_)."\n" for $meta->{stylesheet}; # other vars my $sep = $meta->{charset} eq 'utf-8' ? '•' : ' -- '; @@ -66,7 +65,8 @@ sub Html { # leading output $header{content_type} = "text/html; charset=$meta->{charset}"; print <<"EOT"; - + @@ -76,14 +76,14 @@ sub Html { EOT - print $_, "\n" for $meta->{stylesheet} || (); + print stylesheet(@$_), "\n" for $meta->{stylesheet} || (); print $_, "\n" for $meta->{raw} || (); print qq{\n\n\n}; # prepare trailing output PLP_END { print <<"EOT"; - +

EOT