From f13fff7aa0230409edc77b829348ab087fcbdfda Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 15 Mar 2020 12:38:40 -0400 Subject: [PATCH] Stringify line values with spaces. --- src/FormView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FormView.tsx b/src/FormView.tsx index f559fd9..3ffc9a4 100644 --- a/src/FormView.tsx +++ b/src/FormView.tsx @@ -38,7 +38,7 @@ function Line(props: { tr, line }) { const { tr, line } = props; const value = createMemo(() => { try { - return JSON.stringify(line.value(tr)); + return JSON.stringify(line.value(tr), null, 1); } catch (e) { return {e.message}; } -- 2.22.5