mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix: add HTML rendering to citations back
This commit is contained in:
parent
5c1b3693cf
commit
330a3535e6
1 changed files with 5 additions and 1 deletions
|
|
@ -149,7 +149,11 @@
|
|||
{$i18n.t('Content')}
|
||||
</div>
|
||||
<pre class="text-sm dark:text-gray-400 whitespace-pre-line">
|
||||
{document.document}
|
||||
{#if document.metadata?.html}
|
||||
{@html document.document}
|
||||
{:else}
|
||||
{document.document}
|
||||
{/if}
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue