mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #6879] [MERGED] fix/feat: add HTML rendering to citations back #76842
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/6879
Author: @michaelpoluektov
Created: 11/12/2024
Status: ✅ Merged
Merged: 11/12/2024
Merged by: @tjbck
Base:
dev← Head:fix/render-html-in-citations📝 Commits (2)
330a353fix: add HTML rendering to citations backb1d31d9refac📊 Changes
1 file changed (+7 additions, -1 deletions)
View changed files
📝
src/lib/components/chat/Messages/CitationsModal.svelte(+7 -1)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
metadata.htmlis set toTrue. Can be used to render iframes in citation blocks, for example. This was previously added in https://github.com/open-webui/open-webui/pull/4183 but then removed again.Added
metadata?.htmlis set.Screenshots or Videos
Example with test
<iframe>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.