Bushido/kogo — pull request #15 by HashNuke (2012-01-09 18:19:22+00:00)
Title: Truncates pastie content and wraps long lines in the pastie

Truncates pastie content to 4 lines by default. Takes into account, both the number of lines and the number of characters (to deal with few lines but long sentences like a ruby object.inspect output)

And wraps long lines in the pastie so that it doesn't flow out of the chat area.