Closed yacine-bens closed 1 year ago
Thanks! As mentioned in the README I recommend you use an xml sanitizer/escape library. I see that it would be more logical to include this functionality in this library itself (but not in the 'raw' methods), so I will consider adding this.
Oh you're right! I didn't notice that in the README. Thanks.
If the text contains reserved characters (<>&"') it won't work. Using a simple escape function solves the issue: