fix: use escape shell arg
This commit is contained in:
parent
53f2090447
commit
36452d3a31
@ -25,7 +25,7 @@ let
|
|||||||
|
|
||||||
parseMarkdown = name: contents:
|
parseMarkdown = name: contents:
|
||||||
pkgs.runCommand name { } ''
|
pkgs.runCommand name { } ''
|
||||||
printf '${contents}' | ${pkgBin "pandoc"} -f gfm > $out
|
printf ${pkgs.lib.escapeShellArg contents} | ${pkgBin "pandoc"} -f gfm > $out
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user