fix: use escape shell arg

This commit is contained in:
dusk 2021-05-17 18:06:05 +03:00
parent 53f2090447
commit 36452d3a31
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -25,7 +25,7 @@ let
parseMarkdown = name: contents:
pkgs.runCommand name { } ''
printf '${contents}' | ${pkgBin "pandoc"} -f gfm > $out
printf ${pkgs.lib.escapeShellArg contents} | ${pkgBin "pandoc"} -f gfm > $out
'';
in
{