Fix issue when in MacOS system was left line breaks symbols.
This commit is contained in:
parent
752ea5b435
commit
c28e325f40
|
@ -381,7 +381,7 @@ public class GuiUtils
|
|||
List<String> result = new ArrayList<>();
|
||||
|
||||
Arrays.stream(string.split("\\|")).
|
||||
map(line -> Arrays.asList(WordUtils.wrap(line, 25).split("\\r\\n"))).
|
||||
map(line -> Arrays.asList(WordUtils.wrap(line, 25).split(System.getProperty("line.separator")))).
|
||||
forEach(result::addAll);
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Reference in New Issue