mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
[MIRROR] [s] funny sanitization (#3153)
* [s] Sanitizes captain's announcements on newscasters (#56712) * [s] funny sanitization Co-authored-by: Timothy Teakettle <59849408+timothyteakettle@users.noreply.github.com>
This commit is contained in:
co-authored by
Timothy Teakettle
parent
7421c88e5e
commit
08372ce288
@@ -10,7 +10,7 @@
|
||||
announcement += "<br><h2 class='alert'>[html_encode(title)]</h2>"
|
||||
else if(type == "Captain")
|
||||
announcement += "<h1 class='alert'>Captain Announces</h1>"
|
||||
GLOB.news_network.SubmitArticle(text, "Captain's Announcement", "Station Announcements", null)
|
||||
GLOB.news_network.SubmitArticle(html_encode(text), "Captain's Announcement", "Station Announcements", null)
|
||||
|
||||
else
|
||||
if(!sender_override)
|
||||
|
||||
Reference in New Issue
Block a user