From ad404c962621998d9cefa4cfc2312ac481c30095 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 22 Feb 2026 12:27:42 +0100 Subject: [PATCH] fix: align markdown code renderer with marked token typing --- ui/src/ui/markdown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/ui/markdown.ts b/ui/src/ui/markdown.ts index e892402e5d6..f7f5602ce4f 100644 --- a/ui/src/ui/markdown.ts +++ b/ui/src/ui/markdown.ts @@ -141,7 +141,7 @@ htmlEscapeRenderer.code = ({ }: { text: string; lang?: string; - escaped: boolean; + escaped?: boolean; }) => { const langClass = lang ? ` class="language-${lang}"` : ""; const safeText = escaped ? text : escapeHtml(text);