aboutsummaryrefslogtreecommitdiff
path: root/markdown2html
diff options
context:
space:
mode:
Diffstat (limited to 'markdown2html')
-rw-r--r--markdown2html2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown2html b/markdown2html
index 3c8647d77..285dd866a 100644
--- a/markdown2html
+++ b/markdown2html
@@ -25,7 +25,7 @@ ALL="$*"
ARGS=${ALL%% -- *} # only the part before ' -- ' delimiters is relevant
set -- $ARGS
-REST=${ALL#$ARGS}; REST=${REST#--}
+REST=${ALL#$ARGS}; REST=${REST# -- }
PANDOC_OPTS=${REST:-$PANDOC_OPTS}
iconv -t utf-8 $* | pandoc $PANDOC_OPTS | iconv -f utf-8