This commit is contained in:
Timothy Jaeryang Baek committed 2026-03-07 17:52:58 -06:00
1 parent e303c3da3b
commit 7b2f597b30
2 files changed
+18 -1

No files matched your search

@@ -21,6 +21,12 @@
let variableValues = {};
const submitHandler = async () => {
// Normalize Windows CRLF (\r\n) to LF (\n) for all string values
for (const key of Object.keys(variableValues)) {
if (typeof variableValues[key] === 'string') {
variableValues[key] = variableValues[key].replace(/\r\n/g, '\n');
}
}
onSave(variableValues);
show = false;
};