19 Apr
2001
19 Apr
'01
9:21 a.m.
Hi I would like to delete HTML tags which may have been entred in to a form, before I store the value into a ZClass Instance .. My Idea was just to replace the '<' '>' characters with something less dangerous .. My code is: <dtml-let transtab="_.string.maketrans('><','**')"> <dtml-call "REQUEST.set('Message',_.string.translate(Message,transtab,'><'))"> </dtml-let> The problem is now, that it deletes the >< but it don't replace them with the * ... what is it, what am I doing wrong? Thanks for help Regards Stefan Mallepell