updates urlencode to work better with vim

This commit is contained in:
Jonathan Hodgson 2020-07-29 17:28:09 +01:00
parent 2fe7c1b97b
commit 3b6130f5e4

View file

@ -19,7 +19,7 @@ urlencodespecial() {
string="$1"
if [ -z "$string" ]; then
string="$(cat)"
string="$(cat - | sed 's/^ //')" # For some reason, vim likes to add a space to the begining
fi
#URL