mirror of
https://github.com/open-webui/open-webui
synced 2024-11-17 05:53:11 +00:00
fix: add HTML rendering to citations back
This commit is contained in:
parent
5c1b3693cf
commit
330a3535e6
@ -149,7 +149,11 @@
|
|||||||
{$i18n.t('Content')}
|
{$i18n.t('Content')}
|
||||||
</div>
|
</div>
|
||||||
<pre class="text-sm dark:text-gray-400 whitespace-pre-line">
|
<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>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user