mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-30 17:05:16 -05:00
fix/refac: tts remove formattings
This commit is contained in:
1 parent
54dc24986f
commit
27bb5f5369
1 file changed
-1
@@ -750,7 +750,6 @@ export const removeFormattings = (str: string) => {
|
||||
|
||||
// Cleanup
|
||||
.replace(/\[\^[^\]]*\]/g, '') // Footnotes
|
||||
.replace(/[-*_~]/g, '') // Remaining markers
|
||||
.replace(/\n{2,}/g, '\n')
|
||||
); // Multiple newlines
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user