Fixed bug with ghissues truncate function. (newlines were causing problems)