better newline handling for windows

This commit is contained in:
Daniella / Tove 2022-05-15 16:18:37 +02:00
parent c85c0242c5
commit 3e914cc4c5

View file

@ -1636,7 +1636,7 @@ public class ISBPL {
private String cleanCode(String code) {
return code
.replaceAll("\r", "\n")
.replaceAll("\r\n", "\n")
.replaceAll("\n", " ")
;
}