From 756d64225f6b83c259f8ce31e69f54aec03244f1 Mon Sep 17 00:00:00 2001 From: Krish Khinchi <107798578+krishkhinchi@users.noreply.github.com> Date: Mon, 31 Aug 2026 14:48:48 +0530 Subject: [PATCH] Potential fix for code scanning alert no. 3: Incomplete string escaping or encoding Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- frontend/src/pages/DocsPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/DocsPage.tsx b/frontend/src/pages/DocsPage.tsx index 4df3e88..683ab41 100644 --- a/frontend/src/pages/DocsPage.tsx +++ b/frontend/src/pages/DocsPage.tsx @@ -260,7 +260,7 @@ export function DocsPage() { whileInView="show" viewport={{ once: true, margin: "-30px" }} variants={fadeUp} - id={cat.title.toLowerCase().replace(/\s+/g, "-").replace("&", "")} + id={cat.title.toLowerCase().replace(/\s+/g, "-").replace(/&/g, "")} >