Try specifying newlines in brackets
This commit is contained in:
parent
473cc54008
commit
bf4a77fcd8
|
@ -5,10 +5,8 @@
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
removeBlankLines = str:
|
removeBlankLines = str:
|
||||||
concatStringsSep "\n\n" (filter isString (builtins.split ''
|
concatStringsSep "\n\n"
|
||||||
|
(filter isString (builtins.split "[\\n][\\n]+" str));
|
||||||
|
|
||||||
+'' str));
|
|
||||||
|
|
||||||
joinLines = concatStringsSep "\n";
|
joinLines = concatStringsSep "\n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue