How exactly can I disable users from using HTML in this verb?
Say(msg as text)
set category = "Social"
if(lentext(msg) >= 300)
usr << "The message was too long"
return
else
view() << "\icon[usr] [usr] says: [msg]"
ID:177321
Sep 22 2002, 6:29 am
|
|
Sep 22 2002, 6:48 am
|
|
Also, if the usr can select their own name, you might want to html_encode() it too, and include it in the length check.
|