<<

NAME

Koha::Template::Plugin::HtmlScrubber - TT plugin for scrubbing HTML to limited elements and attributes

SYNOPSIS

[% USE HtmlScrubber %]

[% content.note | scrub_html type => 'note' %]

This filter scrubs HTML using profiles predefined in C4::Scrubber

METHODS

init

This method installs the filter name and declares it as a dynamic filter

filter

Returns a scrubbed version of HTML content

<<