diff --git a/frontend/src/routes/documents/[id]/+page.svelte b/frontend/src/routes/documents/[id]/+page.svelte index 3583370..76f3a29 100644 --- a/frontend/src/routes/documents/[id]/+page.svelte +++ b/frontend/src/routes/documents/[id]/+page.svelte @@ -239,8 +239,8 @@ {/if} {/if} - {#if selectedBodyHtml} -
{@html selectedBodyHtml}
+ {#if selectedItem?.bodyText} + {:else}

이 절의 본문은 추출되지 않았습니다. 헤더의 '원본'에서 확인하세요.

{/if} @@ -339,7 +339,7 @@ {#if it.bodyText}
{ if (e.currentTarget.open) mBodyOpen[s.chunk_id] = true; }}> 본문 보기 - {#if mBodyOpen[s.chunk_id]}
{@html bodyHtml(it)}
{/if} + {#if mBodyOpen[s.chunk_id]}
{/if}
{/if}