mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Merge pull request #7847 from Crazylemon64/i#forgot#spaces
Paranoid sanitization now allows parentheses and common punctuation
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
return html_encode(sanitize_simple(t,repl_chars))
|
||||
|
||||
/proc/paranoid_sanitize(t)
|
||||
var/regex/alphanum_only = regex("\[^a-zA-Z0-9# ]", "g")
|
||||
var/regex/alphanum_only = regex("\[^a-zA-Z0-9# ,.?!:;()]", "g")
|
||||
return alphanum_only.Replace(t, "#")
|
||||
|
||||
//Runs sanitize and strip_html_simple
|
||||
|
||||
Reference in New Issue
Block a user