mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-30 17:25:30 -05:00
[PR #20749] [CLOSED] fix: Decode HTML entities in tool call results before sending to LLM #129419
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/20749
Author: @YuriNachos
Created: 1/17/2026
Status: ❌ Closed
Base:
dev← Head:fix-20600-html-entities-decode📝 Commits (1)
666be80fix: Decode HTML entities in tool call results before sending to LLM📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
src/lib/utils/index.ts(+2 -1)📄 Description
Description
Added
Changed
unescapeHtml()function to decode HTML entities in tool call results before inserting into messagesDeprecated
Removed
Fixed
",&,'not being decoded before sending to LLMprocessDetails()properly decodes HTML entities before inserting tool call results into messagesSecurity
Breaking Changes
Additional Information
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.