X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3b1b77bc3f1af3f833bb7d8aeabc1c5c63ba9207..ad06ed73b3e1d5932d874ef389daa109307db723:/SL/HTML/Util.pm?ds=inline diff --git a/SL/HTML/Util.pm b/SL/HTML/Util.pm index 72a7a7f57..ed5ffdec9 100644 --- a/SL/HTML/Util.pm +++ b/SL/HTML/Util.pm @@ -17,6 +17,8 @@ sub strip { my $value = !ref($class_or_value) && (($class_or_value // '') eq 'SL::HTML::Util') ? $_[1] : $class_or_value; + return '' unless $value; + if (!%stripper) { %stripper = ( parser => HTML::Parser->new );