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:
musketstgstation@gmail.com
2010-12-21 23:51:20 +00:00
parent fd5517e944
commit f66add805b
2 changed files with 2 additions and 2 deletions

View File

@@ -146,7 +146,7 @@
else
src.name = title
else if("Contents")
var/content = input("Write your book's contents (HTML allowed):") as message|null
var/content = strip_html(input("Write your book's contents (HTML NOT allowed):"),8192) as message|null
if(!content)
return
else

View File

@@ -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
/*