mirror of
https://github.com/seejohnrun/haste-client.git
synced 2025-12-15 16:25:57 +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
|
@input = STDIN.readlines.join
|
||||||
end
|
end
|
||||||
# clean up
|
# clean up
|
||||||
@input.strip!
|
@input.rstrip!
|
||||||
end
|
end
|
||||||
|
|
||||||
# Upload the and output the URL we get back
|
# Upload the and output the URL we get back
|
||||||
|
|||||||
Reference in New Issue
Block a user