diff --git a/frontend/src/ts/config.ts b/frontend/src/ts/config.ts index 24dcfe741..9b1e2ed7e 100644 --- a/frontend/src/ts/config.ts +++ b/frontend/src/ts/config.ts @@ -1632,7 +1632,7 @@ export function setCustomBackground(value: string, nosave?: boolean): boolean { (/(https|http):\/\/(www\.|).+\..+\/.+(\.png|\.gif|\.jpeg|\.jpg)/gi.test( value ) && - !/[<>]/.test(value)) || + !/[<> "]/.test(value)|| value == "" ) { config.customBackground = value;