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

FHEMWEB: preserve &amp when editing files, by Markus Bloch

git-svn-id: https://svn.fhem.de/fhem/trunk@4561 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-01-04 16:31:02 +00:00
parent 1ac0423606
commit 0c30ea9283

View File

@ -585,6 +585,10 @@ FW_answerCall($)
}
FW_pO sprintf($jsTemplate, "$FW_ME/pgm2/svg.js") if($FW_plotmode eq "SVG");
if($FW_plotmode eq"jsSVG") {
FW_pO sprintf($jsTemplate, "$FW_ME/pgm2/jsSVG.js");
FW_pO sprintf($jsTemplate, "$FW_ME/pgm2/jquery.min.js");
}
foreach my $js (@FW_fhemwebjs) {
FW_pO sprintf($jsTemplate, "$FW_ME/pgm2/$js");
}
@ -1515,6 +1519,8 @@ FW_style($$)
my $data = join("", <FH>);
close(FH);
$data =~ s/&/&amp;/g;
my $ncols = $FW_ss ? 40 : 80;
FW_pO "<div id=\"content\">";
FW_pO "<form method=\"$FW_formmethod\">";