From 204c5ca99f4f24a90d616a5398581218764409ff Mon Sep 17 00:00:00 2001
From: Hyungi Ahn
Date: Mon, 6 Apr 2026 12:36:29 +0900
Subject: [PATCH] =?UTF-8?q?fix:=20AI=20=EC=9A=94=EC=95=BD=20=EB=A7=88?=
=?UTF-8?q?=ED=81=AC=EB=8B=A4=EC=9A=B4=20=EB=A0=8C=EB=8D=94=EB=A7=81=20?=
=?UTF-8?q?=E2=80=94=20=EC=83=81=EC=84=B8=ED=8E=98=EC=9D=B4=EC=A7=80?=
=?UTF-8?q?=EB=8A=94=20=EB=A0=8C=EB=8D=94=EB=A7=81,=20=EC=B9=B4=EB=93=9C?=
=?UTF-8?q?=EB=8A=94=20=EA=B8=B0=ED=98=B8=20=EC=A0=9C=EA=B1=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-Authored-By: Claude Opus 4.6 (1M context)
---
frontend/src/lib/components/DocumentCard.svelte | 2 +-
frontend/src/routes/documents/[id]/+page.svelte | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/frontend/src/lib/components/DocumentCard.svelte b/frontend/src/lib/components/DocumentCard.svelte
index 3606363..a88e43e 100644
--- a/frontend/src/lib/components/DocumentCard.svelte
+++ b/frontend/src/lib/components/DocumentCard.svelte
@@ -76,7 +76,7 @@
{doc.title || '제목 없음'}
{#if doc.ai_summary}
- {doc.ai_summary.slice(0, 100)}
+ {doc.ai_summary.replace(/[*#_`~]/g, '').slice(0, 100)}
{/if}
{#if showDomain && doc.ai_domain}
diff --git a/frontend/src/routes/documents/[id]/+page.svelte b/frontend/src/routes/documents/[id]/+page.svelte
index d5b4f62..93936c5 100644
--- a/frontend/src/routes/documents/[id]/+page.svelte
+++ b/frontend/src/routes/documents/[id]/+page.svelte
@@ -131,7 +131,7 @@
{#if doc.ai_summary}
AI 요약
-
{doc.ai_summary}
+
{@html renderMd(doc.ai_summary)}
{/if}