mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #12974] [MERGED] fix: improve international character handling in prompt commands #61924
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/12974
Author: @holmlund
Created: 4/17/2025
Status: ✅ Merged
Merged: 4/19/2025
Merged by: @tjbck
Base:
dev← Head:fix/prompts-international📝 Commits (1)
9f8b94efix: improve international character handling in prompt commands📊 Changes
2 files changed (+26 additions, -3 deletions)
View changed files
📝
src/lib/components/workspace/Prompts/PromptEditor.svelte(+12 -3)📝
src/lib/utils/index.ts(+14 -0)📄 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
This PR fixes two long‑standing Prompt Editor pain points:
Together these changes let non‑English users create and tweak prompts without fighting the editor.
Added
slugifyutility function insrc/lib/utils/index.tsfor proper international character handlingPromptEditor.svelteChanged
PromptEditor.svelteto use the newslugifyfunctionDeprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
Old
New
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.