diff --git a/package-lock.json b/package-lock.json index 496e790d4..6b899042c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-webui", - "version": "0.4.4", + "version": "0.4.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "open-webui", - "version": "0.4.4", + "version": "0.4.5", "dependencies": { "@codemirror/lang-javascript": "^6.2.2", "@codemirror/lang-python": "^6.1.6", diff --git a/package.json b/package.json index 8f4bc6ae0..0db0d88f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "open-webui", - "version": "0.4.4", + "version": "0.4.5", "private": true, "scripts": { "dev": "npm run pyodide:fetch && vite dev --host", diff --git a/src/lib/utils/index.ts b/src/lib/utils/index.ts index 905370035..784eef434 100644 --- a/src/lib/utils/index.ts +++ b/src/lib/utils/index.ts @@ -9,7 +9,7 @@ import { TTS_RESPONSE_SPLIT } from '$lib/types'; ////////////////////////// function escapeRegExp(string: string): string { - return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); + return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); } export const replaceTokens = (content, sourceIds, char, user) => {