diff --git a/web/src/pages/chat/hooks.ts b/web/src/pages/chat/hooks.ts index cf09384db..41d862744 100644 --- a/web/src/pages/chat/hooks.ts +++ b/web/src/pages/chat/hooks.ts @@ -343,8 +343,8 @@ export const useHandleMessageInputChange = () => { const handleInputChange: ChangeEventHandler = (e) => { const value = e.target.value; - const nextValue = value.replaceAll('\\n', '\n').replaceAll('\\t', '\t'); - setValue(nextValue); + // const nextValue = value.replaceAll('\\n', '\n').replaceAll('\\t', '\t'); + setValue(value); }; return {