nokogiri 1.14.1-x86_64-linux → 1.14.2-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of nokogiri might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/nokogiri/version/constant.rb +1 -1
- data/lib/nokogiri/xml/node_set.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f840cb0999209db57c2c87b413a553ca7d834a7719b6175db708b7aee0e3e53
|
4
|
+
data.tar.gz: 17ed7ca56bdeba6729f4d2bb6cfd876a8954be2efe2cabe3b71cb4270e63c49d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 003bb674536d80194482349bd2a62220a356e33ee1496c3ce832d7b8c25336935a71a3f62767f32c84f26ba8d699c752bd2091621677e60694d816b000a2917f
|
7
|
+
data.tar.gz: 31e11cc1433d6a9ddc167ccf1032dce765f30c81ff16265557e5248a8c825b2c4c7ca832f58a2ef99c99309fd23173107a6afe25ad0476d0535e659d6af2ff4b
|
@@ -345,8 +345,9 @@ module Nokogiri
|
|
345
345
|
args.insert(0, options)
|
346
346
|
end
|
347
347
|
if empty?
|
348
|
-
encoding = (args.first.is_a?(Hash) ? args.first[:encoding] : nil)
|
349
|
-
|
348
|
+
encoding = (args.first.is_a?(Hash) ? args.first[:encoding] : nil)
|
349
|
+
encoding ||= document.encoding
|
350
|
+
encoding.nil? ? "" : "".encode(encoding)
|
350
351
|
else
|
351
352
|
map { |x| x.to_html(*args) }.join
|
352
353
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogiri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.14.
|
4
|
+
version: 1.14.2
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Mike Dalessio
|
@@ -20,7 +20,7 @@ authors:
|
|
20
20
|
autorequire:
|
21
21
|
bindir: bin
|
22
22
|
cert_chain: []
|
23
|
-
date: 2023-
|
23
|
+
date: 2023-02-13 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: racc
|