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

Feature Request : Make this work in a web worker #140

Open
ritz078 opened this issue Sep 12, 2017 · 1 comment
Open

Feature Request : Make this work in a web worker #140

ritz078 opened this issue Sep 12, 2017 · 1 comment

Comments

@ritz078
Copy link

ritz078 commented Sep 12, 2017

The library depends on the DOM for just escaping special characters. It can be done separately. This will help to run it in the worker.

@Daniel15
Copy link
Member

The library depends on the DOM for just escaping special characters.

Not just that, it also walks the DOM as a means of parsing the HTML. You might be able to use jsdom within a web worker.

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

2 participants