font: link original license with nofollow
[sheet.git] / font.plp
index 82aa0c39dd0411c700c49bc95b059bc64d4c297c..0b58eedba7cda9d6bc27fa8480d3100d8d50d5e8 100644 (file)
--- a/font.plp
+++ b/font.plp
@@ -1,6 +1,6 @@
 <(common.inc.plp)><:
 
-my $font = $ENV{PATH_INFO} =~ s{^/}{}r;
+my $font = $Request;
 
 Html({
        title => 'font coverage '.($font ? "for $font" : 'sheet'),
@@ -50,7 +50,7 @@ if ($font) {
                        (map { "with <em>$_</em>" } $_ || ()),
                        ('and published as freeware "Core Web font"') x ($_ eq 'Windows 2000'),
                        (map { "under a $_ license" }
-                               map { $fontmeta->{license} ? qq(<a href="$fontmeta->{license}">$_</a>) : $_ }
+                               map { $fontmeta->{license} ? qq(<a href="$fontmeta->{license}" rel=nofollow>$_</a>) : $_ }
                                $_ && $_ ne 'Android' ? 'proprietary' : 'free',
                        ),
                );