diff --git a/src/pages/utilities/config-editor.tsx b/src/pages/utilities/config-editor.tsx index c3360bc..31d83e4 100644 --- a/src/pages/utilities/config-editor.tsx +++ b/src/pages/utilities/config-editor.tsx @@ -96,7 +96,11 @@ const ConfigEditorPage: React.FC = () => { // Get the key and value const splitLine = line.split(':'); splitLine[0] = splitLine[0].trim(); - splitLine[1] = splitLine[1].trim(); + let val = ''; + for (let j = 1;j { newConfig[currentSection] = newConfig[currentSection] || {}; newConfig[currentSection][splitLine[0]] = { desc: currentComment, - value: splitLine[1], + value: val, line: i };