From b345783eef087295ea06eb6ceaeffb0032f37da3 Mon Sep 17 00:00:00 2001 From: dtoro Date: Mon, 27 Jul 2026 12:55:17 +0200 Subject: [PATCH] fix(web): resolve two eslint errors in Knowledge.svelte MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - drop the unused KnowledgeItem type import - the svelte/no-at-html-tags disable comment sat on the wrong line: the multi-line Card.Description opening tag meant "next line" wasn't the line with {@html}, so it never suppressed. Reformatted so the {@html} is on its own line, directly after the disable comment. Sanitization (DOMPurify with ALLOWED_TAGS: ['b']) is unchanged — this was a false positive, verified live (search results still render highlights, no script/attribute injection). Co-Authored-By: Claude Opus 4.8 --- web/src/pages/Knowledge.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/pages/Knowledge.svelte b/web/src/pages/Knowledge.svelte index 8c149f8..cf90930 100644 --- a/web/src/pages/Knowledge.svelte +++ b/web/src/pages/Knowledge.svelte @@ -1,6 +1,6 @@