From 385ecb2ef3415e18812b68b7592c26a32f19aa58 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 15 Nov 2021 00:34:31 -0700 Subject: [PATCH] fix paragraph symbol on all-typed blocks --- projects/kiss-vscode/src/ktxt2/KTxt2Editor.kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/kiss-vscode/src/ktxt2/KTxt2Editor.kiss b/projects/kiss-vscode/src/ktxt2/KTxt2Editor.kiss index 3b73bbba..72e1b6de 100644 --- a/projects/kiss-vscode/src/ktxt2/KTxt2Editor.kiss +++ b/projects/kiss-vscode/src/ktxt2/KTxt2Editor.kiss @@ -297,10 +297,10 @@ (content.appendChild (document.createElement "br")) (monacoEditor sourceDiv "width: 50%;" source /* TODO get the real extension of the source file: */ "txt" locked - ->editor (replaceSourceBlock (nth ktxt2Elements idx) (editor.getValue))) + ->editor (replaceSourceBlock (nth ktxt2Elements idx) (.replace (editor.getValue) "\r" ""))) (monacoEditor outputDiv "flex-grow: 1;" output /* TODO get the real extension of the output file: */ "txt" locked - ->editor (replaceOutputBlock (nth ktxt2Elements idx) (editor.getValue))) + ->editor (replaceOutputBlock (nth ktxt2Elements idx) (.replace (editor.getValue) "\r" ""))) // Link that will delete the whole block: (set xLink.innerHTML "x")