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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user