mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-27 10:33:21 +00:00
HTML is now stripped from book and paper text entry.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@687 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -76,7 +76,7 @@ CLIPBOARDS
|
||||
clown = 1
|
||||
|
||||
if (istype(P, /obj/item/weapon/pen))
|
||||
var/t = input(user, "What text do you wish to add?", text("[]", src.name), null) as message
|
||||
var/t = strip_html(input(user, "What text do you wish to add?", text("[]", src.name), null),8192) as message
|
||||
if ((!in_range(src, usr) && src.loc != user && !( istype(src.loc, /obj/item/weapon/clipboard) ) && src.loc.loc != user && user.equipped() != P))
|
||||
return
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user