From 42e67e01aacd35f9efea9bb297f73a019e06f18c Mon Sep 17 00:00:00 2001 From: MacRimi Date: Tue, 3 Feb 2026 17:41:34 +0100 Subject: [PATCH] Update virtual-machines.tsx --- AppImage/components/virtual-machines.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppImage/components/virtual-machines.tsx b/AppImage/components/virtual-machines.tsx index 8d47ffb9..c2c90df9 100644 --- a/AppImage/components/virtual-machines.tsx +++ b/AppImage/components/virtual-machines.tsx @@ -623,7 +623,7 @@ const handleDownloadLogs = async (vmid: number, vmName: string) => { } const isHTML = (str: string): boolean => { - const htmlRegex = /<\/?[a-z][\s\S]*>/i + const htmlRegex = new RegExp('<\\/?[a-z][\\s\\S]*>', 'i') return htmlRegex.test(str) }