aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2024-09-16 09:51:09 -0400
committerGitHub <noreply@github.com>2024-09-16 09:51:09 -0400
commit2fbc1e3d2611e485cea863346188fc08109da5c5 (patch)
treeb51dcbb9330a6bb0d5087067671ee0fc5391b6bf
parent52c5baef98f645474c1ff7ca33846a34f8f2a991 (diff)
downloadstasis-2fbc1e3d2611e485cea863346188fc08109da5c5.tar.gz
Fix errant change of "cmd" string (#42)
* Was supposed to be pandoc_versioned_args
-rw-r--r--src/stasis_indexer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stasis_indexer.c b/src/stasis_indexer.c
index 25f0fa7..ef6375b 100644
--- a/src/stasis_indexer.c
+++ b/src/stasis_indexer.c
@@ -311,12 +311,12 @@ int indexer_make_website(struct Delivery *ctx) {
// >= 1.10.0.1
if (pandoc_version >= 0x010a0001) {
- strcat(cmd, "-f markdown+autolink_bare_uris ");
+ strcat(pandoc_versioned_args, "-f markdown+autolink_bare_uris ");
}
// >= 3.1.10
if (pandoc_version >= 0x03010a00) {
- strcat(cmd, "-f markdown+alerts ");
+ strcat(pandoc_versioned_args, "-f markdown+alerts ");
}
}