mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 16:05:19 +00:00
98_SVG.pm: fix the fix (#129693)
git-svn-id: https://svn.fhem.de/fhem/trunk@26539 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
adf7883702
commit
5f76780903
@ -2526,7 +2526,7 @@ plotAsPng(@)
|
||||
|
||||
# Forum #32791,#116138: some lib versions cannot parse complex CSS selectors
|
||||
$svgdata =~ s/\.SVGplot\./\./g if(AttrVal($svgName, "plotAsPngFix", 0));
|
||||
$svgdata = Encode::decode('UTF-8', $buf)
|
||||
$svgdata = Encode::decode("UTF-8", $svgdata) if(!$unicodeEncoding); #129693
|
||||
|
||||
eval {
|
||||
require Image::LibRSVG;
|
||||
|
Loading…
x
Reference in New Issue
Block a user