mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
bring html back
This commit is contained in:
parent
d0f13d7c07
commit
f3210ec7db
1 changed files with 5 additions and 1 deletions
|
|
@ -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 a new issue