tag plugin: encode categories using numeric values
This ensures that RSS/Atom feeds produced are valid XML.master
parent
855d3a52d4
commit
7411d1a6ce
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue