Truncate user-supplied data to prevent XML errors
Merge pull request #14 from johnholden/patch-2

Truncate user-supplied data to prevent XML errors