Fixes #1224 Edit reason should be trim()'d
Fixes #1224 Edit reason should be trim()'d
No need for trim() on both I/O
Merge pull request #1255 from Sama34/fix-1224

Fixes #1224 Edit reason should be trim()'d