nokogiri 1.14.1-arm-linux → 1.14.2-arm-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: 4b664207b38fda0bd8018b28b5e2df06961d4963c82fbe80f30bb030377f1b5b
|
4
|
+
data.tar.gz: 9e3ce998b062b079637309738c5a583920b6a06a27e639c4719ba04c3b915c7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad7de2b26f1a8cb8785d2aeb0a0912ddf0be847ef94f2f7799096426581bdad5ea58c107224af62df14eaa9a918945bd81de270cc334486476d39a78d4b95551
|
7
|
+
data.tar.gz: c643c5ea20e5938bc1bf6088ae407689c553199f420670b72fd52bce0255c4a9a0f292382371f20557115cd1fe97a2780132b0e1950426914e99c0b78da74f18
|
@@ -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: arm-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
|