From 10ea723159453709d52d6b51fac28347d8c6e19c Mon Sep 17 00:00:00 2001 From: meemofcourse <75212565+meemofcourse@users.noreply.github.com> Date: Fri, 29 Sep 2023 22:57:36 -0300 Subject: [PATCH] s --- tgui/packages/tgui/sanitize.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgui/packages/tgui/sanitize.ts b/tgui/packages/tgui/sanitize.ts index a40d23a320d3..bd67b969a3c5 100644 --- a/tgui/packages/tgui/sanitize.ts +++ b/tgui/packages/tgui/sanitize.ts @@ -48,7 +48,7 @@ const defTag = [ // Advanced HTML tags that we can trust admins (but not players) with const advTag = ['img']; -const defAttr = ['class', 'style']; +const defAttr = ['class', 'style', 'background']; /** * Feed it a string and it should spit out a sanitized version.