Skip to content
New issue

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

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

Already on GitHub? # to your account

Use entities.escape instead of entities.encodeXML #33

Closed
wants to merge 1 commit into from

Conversation

akihikodaki
Copy link

Use entities.escape instead of entities.encodeXML
Add outputUtf8 option (to fix #26)

This depends on fb55/entities#28.

Use entities.escape instead of entities.encodeXML
Add outputUtf8 option
@yf-hk
Copy link

yf-hk commented Jul 13, 2019

Any updates on this? IMO this PR really needs to be merged. currently it causes cheerio, x-ray etc. a lot of issues when working with non-latin characters.

@fb55
Copy link
Member

fb55 commented Apr 8, 2021

I am not sure I understand the issue here; this project is a bit overly aggressive when encoding entities, which shouldn't break anything.

If someone still has a related issue, please open an issue!

@fb55 fb55 closed this Apr 8, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

special HTML / XML characters are not encoded if decodeEntities is false
3 participants