UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

8 lines (7 loc) 306 B
//#region src/auto-reply/reply/inbound-text.ts /** Normalizes real inbound newline characters while preserving literal escape text. */ function normalizeInboundTextNewlines(input) { return input.replaceAll("\r\n", "\n").replaceAll("\r", "\n"); } //#endregion export { normalizeInboundTextNewlines as t };