mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[PR #7919] [MERGED] fix: enhance Markdown text cleaning for TTS compatibility #37765
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/7919
Author: @denispol
Created: 12/17/2024
Status: ✅ Merged
Merged: 12/17/2024
Merged by: @tjbck
Base:
dev← Head:main📝 Commits (2)
d87584erefactor(utils): enhance Markdown text cleaning for TTS compatibilitye6add28Update index.ts📊 Changes
1 file changed (+25 additions, -1 deletions)
View changed files
📝
src/lib/utils/index.ts(+25 -1)📄 Description
Enhanced Markdown formatting removal
Discussion #7925
Changes
removeFormattingsfunction to handle more Markdown syntaxContext
Azure AI Speech Services would not process text enclosed with asterisks (i.e. bold, italic...), issue #5560
Tests
Please check the fiddle I made to test the changes (markdown formatting stripping and cleanup)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.