-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make HtmlInputStreamReader sniffing limit settable
This change makes the sniffing limit in HtmlInputStreamReader settable. Without this change, the HtmlInputStreamReader sniffing limit is hardcoded to 1024 — and in the context of testing, that has the effect of limiting HtmlInputStreamReader to only being useful for testing expected output of the meta prescan. So this change makes it possible for HtmlInputStreamReader to also be used for testing the results for the state where the expected character encoding is not limited to what can be determined by checking the first 1024 bytes of the input stream.
- Loading branch information
1 parent
3f48926
commit cd53ca7
Showing
1 changed file
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters