mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
98_SVG.pm: skip escape if title is enclosed in <html></html> (Forum #135755)
git-svn-id: https://svn.fhem.de/fhem/trunk@28159 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
05bc6a588c
commit
67de8f4257
@ -1405,6 +1405,7 @@ sub
|
||||
SVG_escape($)
|
||||
{
|
||||
my ($txt) = @_;
|
||||
return $1 if($txt =~ m,^<html>(.*)</html>$,);
|
||||
$txt =~ s/&/&/g;
|
||||
$txt =~ s/</</g;
|
||||
$txt =~ s/>/>/g;
|
||||
|
Loading…
x
Reference in New Issue
Block a user