From 3e914cc4c5448520b609dfd1cf8b1cf2fccbe04c Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sun, 15 May 2022 16:18:37 +0200 Subject: [PATCH] better newline handling for windows --- ISBPL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ISBPL.java b/ISBPL.java index caa34b4..8f62c0a 100644 --- a/ISBPL.java +++ b/ISBPL.java @@ -1636,7 +1636,7 @@ public class ISBPL { private String cleanCode(String code) { return code - .replaceAll("\r", "\n") + .replaceAll("\r\n", "\n") .replaceAll("\n", " ") ; }