From 208bf885397562f2cab94476a1f7e8bc9a0e24b5 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Mon, 31 Oct 2022 15:01:57 +0100 Subject: [PATCH] Correct " --- src/components/News.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/News.tsx b/src/components/News.tsx index e6422e2..899a607 100644 --- a/src/components/News.tsx +++ b/src/components/News.tsx @@ -31,7 +31,7 @@ const News = () => { const updated = new Date(n.pubDate); newsTable.splice(randTablePos, 0, - {n.title} + {n.title.replace(/&/g, "&").replace(/"/g, "\"")} {updated.getHours()}:{updated.getMinutes().toString().padStart(2, "0")} )