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")} )