2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

10_MQTT2_DEVICE.pm: remove escaping in MQTT2_DEVICE_nlData (Forum #126970)

git-svn-id: https://svn.fhem.de/fhem/trunk@25887 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-03-27 10:06:00 +00:00
parent 890f2543bd
commit 7b212f85ab

View File

@ -761,6 +761,8 @@ MQTT2_DEVICE_nlData($)
my $div = ($FW_userAgent =~ m/WebKit/ ? "<br>" : " ");
my $gv = ReadingsVal($d, ".graphviz", ReadingsVal($d, "graphviz", ""));
$gv =~ s/\\n/\n/g; #126970
$gv =~ s/\\"/"/g;
for my $l (split(/[\r\n]/, $gv)) {
if($l =~ m/^\s*"([^"]+)"\s*\[.*label="([^"]+)"\]/) {