RaspberryMatic icon indicating copy to clipboard operation
RaspberryMatic copied to clipboard

WebUI: Error using editor with special "&XXX;" html codes

Open HMMike opened this issue 6 years ago • 0 comments

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

HMMike avatar Jan 03 '19 21:01 HMMike