diff --git a/src/index.ps b/src/index.ps index 7ea6db1..bd73480 100644 --- a/src/index.ps +++ b/src/index.ps @@ -23,7 +23,7 @@ do DATE="$(echo "$line" | cut -d"_" -f1 )" if [ $(echo "${line##*.}") == "pm" ] then - TITLE="$DATE - $(head -1 "$line" | sed 's/^# +//g')" + TITLE="$DATE - $(head -1 "$line" | sed 's/^# //g')" else TITLE="$DATE - $(echo "${line%%.*}" | tr '_' ' ')" fi