mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-24 19:01:29 +03:00
4 lines
160 B
TypeScript
4 lines
160 B
TypeScript
export function normalizeInboundTextNewlines(input: string): string {
|
|
return input.replaceAll("\r\n", "\n").replaceAll("\r", "\n").replaceAll("\\n", "\n");
|
|
}
|