Correctly trim notifications containing special characters in alert body.