summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-10-07 02:57:19 +0100
committerdavidovski <david@davidovski.xyz>2023-10-07 02:57:19 +0100
commit9a90fd8d38186fce0465736e4dd31f72935a5536 (patch)
tree708d86a1598be42858cdea925268c4cf45106e1d
parentba97d2402bcf396c7fc70ae7fc3877117a48a38e (diff)
allow for files with spaces
-rwxr-xr-xsrc/md2html.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/md2html.sh b/src/md2html.sh
index 846498a..54ed1fe 100755
--- a/src/md2html.sh
+++ b/src/md2html.sh
@@ -433,4 +433,4 @@ md2html () {
[ -z "$*" ] \
&& md2html \
- || cat $1 | md2html
+ || cat "$1" | md2html