P.S.:
Du befindest dich in diesem Falle im Kontext HTML - also hast du Zeichen, die dort Sonderbedeutung haben, selbstverstaendlich auch *diesem* Kontext entsprechend zu behandeln.
Das ' ist dort nicht erwaehnt - man braucht es auch nicht zu maskieren, wenn man zur Begrenzung von Attributwerten im HTML-Code Anfuehrungszeichen nimmt (was ich generell machen wuerde).
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“