HTML::...Escape(3pm)

πŸ“¦
version 1.11 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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