summaryrefslogtreecommitdiff
path: root/lib/template.source.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/template.source.sh')
-rw-r--r--lib/template.source.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/template.source.sh b/lib/template.source.sh
index c93b66e..8ab19d5 100644
--- a/lib/template.source.sh
+++ b/lib/template.source.sh
@@ -106,12 +106,12 @@ template::inline::_index () {
# Can be used from a .gmi.tpl template for generating an index for a given topic.
template::inline::index () {
- template::inline::_index $@ | sort | uniq
+ template::inline::_index "$@" | sort | uniq
}
# Same as index, but reverse order
template::inline::rindex () {
- template::inline::_index $@ | sort -r | uniq
+ template::inline::_index "$@" | sort -r | uniq
}
# TODO: Write unit test.