]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/websetup.pm
pagestats: add disp parameter
[git.ikiwiki.info.git] / IkiWiki / Plugin / websetup.pm
index 0a3d90aec0d9654269fd70c63f6e9825f219c6a8..f95017c90d71a6408dbd81028fcb15b32c7a3265 100644 (file)
@@ -151,7 +151,10 @@ sub showfields ($$$@) {
                my %info=%{shift @show};
 
                my $description=$info{description};
-               if (exists $info{link} && length $info{link}) {
+               if (exists $info{htmldescription}) {
+                       $description=$info{htmldescription};
+               }
+               elsif (exists $info{link} && length $info{link}) {
                        if ($info{link} =~ /^\w+:\/\//) {
                                $description="<a href=\"$info{link}\">$description</a>";
                        }