mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 07:28:53 +01:00
Check for 516 byond:// hrefs (#16359)
* Add a lint to check for hrefs that don't start with byond:// * Regex convert href links * Regex convert _src_ as well * Clean up the last few * Missed a few
This commit is contained in:
@@ -669,7 +669,7 @@ GLOBAL_DATUM_INIT(sdql2_vv_statobj, /obj/effect/statclick/SDQL2_VV_all, new(null
|
||||
|
||||
/datum/SDQL2_query/proc/SDQL_print(object, list/text_list, print_nulls = TRUE)
|
||||
if(is_proper_datum(object))
|
||||
text_list += "<A HREF='?_src_=vars;[HrefToken()];Vars=\ref[object]'>\ref[object]</A> : [object]"
|
||||
text_list += "<A href='byond://?_src_=vars;[HrefToken()];Vars=\ref[object]'>\ref[object]</A> : [object]"
|
||||
if(istype(object, /atom))
|
||||
var/atom/A = object
|
||||
var/turf/T = A.loc
|
||||
|
||||
Reference in New Issue
Block a user