Sigh...does this work or not?
This commit is contained in:
parent
bf4a77fcd8
commit
12cf9bfeee
@ -5,8 +5,10 @@
|
|||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
removeBlankLines = str:
|
removeBlankLines = str:
|
||||||
concatStringsSep "\n\n"
|
concatStringsSep "\n\n" (filter isString (builtins.split ''
|
||||||
(filter isString (builtins.split "[\\n][\\n]+" str));
|
|
||||||
|
|
||||||
|
+'' str));
|
||||||
|
|
||||||
joinLines = concatStringsSep "\n";
|
joinLines = concatStringsSep "\n";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user