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

feat: nonAsciiPrintableOnly mode, closes #84 #86

Merged
merged 1 commit into from
Jun 24, 2023

Conversation

mdevils
Copy link
Owner

@mdevils mdevils commented Jun 5, 2023

Introduces nonAsciiPrintableOnly mode.

Example:

encode('< > " \' & ©', {mode: 'nonAsciiPrintableOnly', level: 'xml'});
// -> '< > " \' & &#169;'

@mdevils mdevils merged commit c99cacd into master Jun 24, 2023
2 checks passed
@mdevils mdevils deleted the non-ascii-printable-only branch June 24, 2023 22:23
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.

None yet

1 participant