When comparing the output of `bashly g` to the one of `bashly g --wrap somefunc`, the latter has too many newlines. It would seem like the sanitization function is not handling this case well.