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

Escape non-ASCII and non-printable ASCII characters #4

Merged
merged 2 commits into from
Apr 6, 2024

Conversation

silkeh
Copy link

@silkeh silkeh commented Apr 4, 2024

This PR ensures that non-ASCII (eg: emoji) and non-printable ASCII characters are escaped in XML. This improves the compatibility of the produced XML.

silkeh added 2 commits April 3, 2024 13:25
Escape characters that are not contained in ASCII by encoding them to their HTML/Hex representation.
Escape characers from ASCII that are not allowed in XML (codepoints 0-8, 11-12, 14-31, 127).
@Zaryob Zaryob changed the base branch from main to dev April 6, 2024 13:04
@Zaryob Zaryob merged commit 19c3ec5 into Zaryob:dev Apr 6, 2024
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

Successfully merging this pull request may close these issues.

2 participants