Closed xuchunyang closed 7 years ago
function urlencode { python -c "import sys, urllib; print urllib.quote(sys.stdin.read(), safe='')" }
~$ urlencode <<<"hi" hi%0A
because of it when I pass http://example.com to org-protocol-capture-html.sh, Org mode will receive http://example.com\n.
http://example.com
org-protocol-capture-html.sh
http://example.com\n
because of it when I pass
http://example.com
toorg-protocol-capture-html.sh
, Org mode will receivehttp://example.com\n
.