HTML::...Escape(3pm)
π HTML::Widget::Filter::HTMLEscape π
okay so bestie, welcome to the manual page for HTML::Widget::Filter::HTMLEscape β yeah, the header and footer up there call it HTML::...Escape(3pm) but that's just the abbreviation being cute and mysterious, the full name is the long one. this ships as part of the User Contributed Perl Documentation, so you know it's community-made and iconic for it. π
β¨ NAME β¨
HTML::Widget::Filter::HTMLEscape β the HTML Escaping Filter. that's literally it, that's the whole job. slay. π
πΈ SYNOPSIS πΈ
here's how you actually summon it:
my $f = $widget->filter( 'HTMLEscape', 'foo' );
yes bestie, that's the whole thing. you grab your $widget, you call filter on it, you pass 'HTMLEscape' and then 'foo', and boom π₯ you have yourself an escaping filter living in $f.
π¦ DESCRIPTION π¦
HTML Escaping Filter.
that's what it does. it escapes HTML. it's giving "does exactly what it says on the tin" energy and honestly? we love a filter with no hidden lore. π«Ά
π§ METHODS π§
π filter
this is the method. filter. the one from the synopsis. that's the entry, iykyk. β¨
π BUGS π
okay so this part is important, bestie, listen up, because there's a gotcha:
HTML::Element now checks for, and refuses to escape already-escaped characters.
so if you were out here hoping to double-escape your characters? nope. not anymore. not happening automatically. the way that this used to just work and now it does not... π
if you want to double-escape characters, you must now do it yourself. the library is not going to do it for you. that's a you job now. periodt.
π AUTHOR π
Lyo Kato, "lyo.kato@gmail.com" β thank you for your service, legend. π«‘
π LICENSE π
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. so go off, remix it, redistribute it, it's all yours under those Perl terms. π
and that's the whole page, bestie!! πΈ this beauty was rendered by perl v5.36.0 and dated 2023-08-10, so if you're reading this, drink some water, escape your HTML, and remember: no cap, you understood all of that. π¦β¨π
π¦ where this page comes from
- debian trixie: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms