]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/tag.pm
Added a comment
[git.ikiwiki.info.git] / IkiWiki / Plugin / tag.pm
index 096c92616aa76e2414775b6ed67f8ef9fecd24bf..8a0859b5ca48d45f12ccde0f4c823bb5bed913c4 100644 (file)
@@ -120,6 +120,7 @@ sub gentag ($) {
 
                        my $dir = $config{srcdir};
                        if (! $config{tag_autocreate_commit}) {
+                               no warnings 'once';
                                $dir = $IkiWiki::Plugin::transient::transientdir;
                        }
 
@@ -201,7 +202,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]);
                }
        }