fixes and filters (#15626)

* fixes and filters

* remove the missed closing spans

* bundle added

* we also store empty hihglighting

* change the blacklist handling

* fix custom links in examine

* regenerate bundle

* automatic URL parsing for OOC/LOOC
This commit is contained in:
Kashargul
2023-12-21 00:30:12 +01:00
committed by GitHub
parent 354dc022bf
commit 4ce06ee440
19 changed files with 152 additions and 131 deletions
+3
View File
@@ -63,6 +63,7 @@
if(holder.rights & R_ADMIN && holder.rights & R_BAN) //Admins
ooc_style = "admin"
msg = GLOB.is_valid_url.Replace(msg,"<span class='linkify'>$1</span>")
for(var/client/target in GLOB.clients)
if(target.is_preference_enabled(/datum/client_preference/show_ooc))
@@ -170,6 +171,8 @@
if(!(admin in receivers) && admin.is_preference_enabled(/datum/client_preference/holder/show_rlooc))
r_receivers |= admin
msg = GLOB.is_valid_url.Replace(msg,"<span class='linkify'>$1</span>")
// Send a message
for(var/client/target in receivers)
var/admin_stuff = ""