aboutsummaryrefslogtreecommitdiff
path: root/html2markdown
diff options
context:
space:
mode:
Diffstat (limited to 'html2markdown')
-rw-r--r--html2markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/html2markdown b/html2markdown
index bd248ca1f..9549bc4e1 100644
--- a/html2markdown
+++ b/html2markdown
@@ -26,7 +26,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}
infile=$1