]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/tag.pm
Detect image type from .JPG just like .jpg (etc.).
[git.ikiwiki.info.git] / IkiWiki / Plugin / tag.pm
index 096c92616aa76e2414775b6ed67f8ef9fecd24bf..605f415994e73bee121faab9fb7e5e64f1a02182 100644 (file)
@@ -201,7 +201,7 @@ sub pagetemplate (@) {
                if (defined $tags && %$tags) {
                        eval q{use HTML::Entities};
                        $template->param(categories =>
-                               [map { category => HTML::Entities::encode_entities(tagname($_)) },
+                               [map { category => HTML::Entities::encode_entities_numeric(tagname($_)) },
                                        sort keys %$tags]);
                }
        }