Skip to content

Commit e312978

Browse files
eugen-shulimovibbem
authored andcommitted
fix: add new lines to the unparsed code
1 parent dd54859 commit e312978

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/org/variantsync/diffdetective/variation/VariationUnparser.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,10 @@ public static String undiff(String text, Time time) {
9898
for (String line : textSplit) {
9999
if (line.isEmpty()) {
100100
result.append(line);
101+
result.append("\n");
101102
} else if (line.charAt(0) != zeichen) {
102103
result.append(line.substring(1));
104+
result.append("\n");
103105
}
104106
}
105107
if (result.isEmpty()) {

0 commit comments

Comments
 (0)