alphapapa / org-protocol-capture-html

Capture HTML from the browser selection into Emacs as org-mode content
453 stars 39 forks source link

Remove a trailing newline in urlencode #20

Closed xuchunyang closed 7 years ago

xuchunyang commented 7 years ago

It looks like sys.stdin.read() always gets a string ended with a newline, so I think it is safe to remove it.

I don't know python, but this solves my issue #19.

alphapapa commented 7 years ago

Thanks for catching and fixing this!