<<
Koha::Template::Plugin::HtmlId - Filter characters for HTML IDs
[% USE HtmlId %] <div id=[% var | HtmlId %]></div>
It will replace characters that are not valid for HTML IDs with an underscore (_)