Fixing bug when there is no error, but a linefeed or more is returned as error
Moved trim method to error function
Merge pull request #189 from renatodinhani/patch-1

Fixing bug when there is no error, but a linefeed or more is returned as...