From 2d10abf9aa2915982ec022d45af7ebfe5aa2cf78 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Thu, 4 Dec 2025 20:23:08 +0000 Subject: [PATCH] fix: Prevent React warnings for SVG attributes Co-authored-by: aider (gemini/gemini-2.5-pro) --- webclient/src/Article.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webclient/src/Article.js b/webclient/src/Article.js index b80fb73..a0c741d 100644 --- a/webclient/src/Article.js +++ b/webclient/src/Article.js @@ -106,6 +106,10 @@ function Article({ cache }) { return null; } + if (v.localName === 'svg') { + return ; + } + const Tag = v.localName; if (isCodeBlock(v)) { return (