diff --git a/Koha/Template/Plugin/HtmlId.pm b/Koha/Template/Plugin/HtmlId.pm index 13fc9e8500..5ca9912aa5 100644 --- a/Koha/Template/Plugin/HtmlId.pm +++ b/Koha/Template/Plugin/HtmlId.pm @@ -19,6 +19,20 @@ use Modern::Perl; use parent qw( Template::Plugin::Filter ); +=head1 NAME + +Koha::Template::Plugin::HtmlId - Filter characters for HTML IDs + +=head1 SYNOPSIS + + [% USE HtmlId %] + +
+ +It will replace characters that are not valid for HTML IDs with an underscore (_) + +=cut + sub filter { my ( $self, $text ) = @_;