diff --git a/lib/haste.rb b/lib/haste.rb index 9a87b8b..c7286a1 100644 --- a/lib/haste.rb +++ b/lib/haste.rb @@ -20,7 +20,7 @@ module Haste @input = STDIN.readlines.join end # clean up - @input.strip! + @input.rstrip! end # Upload the and output the URL we get back