Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove invalid XML characters #107

Open
egoist opened this issue Nov 2, 2019 · 0 comments
Open

Remove invalid XML characters #107

egoist opened this issue Nov 2, 2019 · 0 comments

Comments

@egoist
Copy link

egoist commented Nov 2, 2019

Is your feature request related to a problem? Please describe.
When writing a post it happens a lot that it might contain invalid XML characters

Describe the solution you'd like
Remove those invalid characters in the output of this library, so it's fixed for everyone

Describe alternatives you've considered
Let end users handle this

Additional context
https://stackoverflow.com/questions/397250/unicode-regex-invalid-xml-characters/961504#961504
https://www.ryadel.com/en/javascript-remove-xml-invalid-chars-characters-string-utf8-unicode-regex/
saberland/saber#537

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant