argon/node-apn — pull request #186 by hansman (2014-06-27 22:17:11+00:00)
Title: Correctly trim notifications with special characters.

JSON.stringify escapes escaping chars. Notification.prototype.trim did not consider this anomaly. This commit precisely calculates the to be trimmed substring of notifications with special characters.