nokogumbo 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/gumbo-parser/src/tokenizer.c +1 -1
- data/lib/nokogumbo/html5.rb +1 -1
- data/lib/nokogumbo/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d5936b6ffffb20ec22609b2be5d2493919c81f7c8279a7c21fd8e95e457d0c5
|
4
|
+
data.tar.gz: 5259acf1b328d1097edcbb162433d72e69b084b66ed8bae28703bca53bd88b76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fdc59096ec69684932424b70bed03f05f6ea5324e9d3f70eee8481891a15ae9f3cf063fff7106cc38d2873d072d21169b58ed6f5b381b687aa5b1680eee35e6
|
7
|
+
data.tar.gz: 4d1d88817b4242b060e5a9ac74e36e9f23d38b153547b64d51a59d86daff44853915ba8bd07473902fe4d936cd53851d2594c3ac09541159863117eedf8339ab
|
data/README.md
CHANGED
@@ -39,8 +39,8 @@ The document and fragment parsing methods,
|
|
39
39
|
- `Nokogiri::HTML5::DocumentFragment.parse(html, encoding = nil, options = {})`
|
40
40
|
support options that are different from Nokogiri's.
|
41
41
|
|
42
|
-
The
|
43
|
-
described below.
|
42
|
+
The three currently supported options are `:max_errors`, `:max_tree_depth` and
|
43
|
+
`:max_attributes`, described below.
|
44
44
|
|
45
45
|
### Error reporting
|
46
46
|
Nokogumbo contains an experimental parse error reporting facility. By default,
|
@@ -890,9 +890,9 @@ void gumbo_tokenizer_state_init (
|
|
890
890
|
|
891
891
|
mark_tag_state_as_empty(&tokenizer->_tag_state);
|
892
892
|
|
893
|
-
tokenizer->_token_start = text;
|
894
893
|
utf8iterator_init(parser, text, text_length, &tokenizer->_input);
|
895
894
|
utf8iterator_get_position(&tokenizer->_input, &tokenizer->_token_start_pos);
|
895
|
+
tokenizer->_token_start = utf8iterator_get_char_pointer(&tokenizer->_input);
|
896
896
|
doc_type_state_init(parser);
|
897
897
|
}
|
898
898
|
|
data/lib/nokogumbo/html5.rb
CHANGED
data/lib/nokogumbo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogumbo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Ruby
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-11-
|
12
|
+
date: 2020-11-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
|
-
rubygems_version: 3.1.
|
112
|
+
rubygems_version: 3.1.4
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Nokogiri interface to the Gumbo HTML5 parser
|