From 0db3787a20e928c2ee8e5b0ce2d636c5bf8763cf Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 11 Jan 2021 10:17:25 +0100 Subject: [PATCH] Bug 27336: Add POD for new package Signed-off-by: Jonathan Druart --- Koha/Template/Plugin/HtmlId.pm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 ) = @_; -- 2.39.5