-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add more tests and streaming interface #3
Conversation
496dc28
to
b30578d
Compare
I literally can't get |
This kinda fixes it but is really ugly. Then it balances out the amount of opening and closing tags in the string, providing each open tag with a closing tag somewhere, then This is an ugly fix. I don't wanna merge that. |
Okay, this kinda fixes it. It still does two linear scans, but using the And instead of allocating the entire content and appending them to the allocated chunk, we count the amount of unclosed opening tags and push them in using a And since we were already using the streaming interface, this also adds a streaming interface to the sanitizer. So.. closes #5 |
…hind feature-flag
No description provided.