RaspberryMatic
RaspberryMatic copied to clipboard
WebUI: Error using editor with special "&XXX;" html codes
im Editor wird folgendes Programm geschrieben:
string stdout= "°";
if (stdout.Contains("°")){ stdout = stdout.Replace("°","°"); }
WriteLine (stdout);
das script wird gespeichert
öffnet man nun den editor mit dem script erneut, so wird das ° gegen das ° geparst.
string stdout= "°";
if (stdout.Contains("°")){ stdout = stdout.Replace("°","°"); }
WriteLine (stdout);
Nochmaliges Speichern speichert nun das falsche sript mit dem geparsten Zeichen. Dies kann man gegenchecken durch Analyse des entsprechenden SingleDestinationObject überprüfen.
Siehe auch hier: https://homematic-forum.de/forum/viewtopic.php?f=19&t=47864#p480781