1
0
mirror of https://github.com/seejohnrun/haste-client.git synced 2025-12-12 23:05:56 +00:00

Do not trim leading whitespace

For pastes of code snippets, removing leading whitespace usually
results in mis-aligned code.
This commit is contained in:
Tom McDonald
2013-07-12 12:05:49 -04:00
parent e6532aa100
commit ce764ca7c4

View File

@@ -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