nokogiri 1.16.7-aarch64-linux → 1.16.8-aarch64-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60457de93693f3a1e54e8009b5182be88076133a319f1e4a88e2b0c4127f24d4
4
- data.tar.gz: 74146ec20fa867ae3fe5cc1f962f9b39799080d9b6a4ae012882ceff506b0b9a
3
+ metadata.gz: 1f4c9cc5da2b034a4e004bf1b30c0fa8b153cc65f066ef885cb39b805ee19500
4
+ data.tar.gz: b19aaf6cccbf0c5f4f71749cfe70b4e006666b054d7c432f5d962d26e69f7e74
5
5
  SHA512:
6
- metadata.gz: 799c3d44eafac39b32230e0eef1bd3d9845625c5fd12f539597869745ed260da1b4ba49b87cb219aa4dd71d0066dc2a4fede72d5d4576b591c4b731b24693341
7
- data.tar.gz: 1be1d73f479de5aa43aa8401309da9979d9e7246d76ca2342a0204a8cc942f82f35063674f114d3e3db2ab677d0867fc79f5ff8ceae1bac1f5df36061b95c0a1
6
+ metadata.gz: d21f87545ad542eb340f05d94dd483651a7becdfb0428ed3e8320e83336babdbb8d7b2e5e043266642908f88a1454506c54d1c8c4ed542ed9e6fe0fd921ed73c
7
+ data.tar.gz: 123d2c969213c3b401651dd593ac32a74dde38dbe736291d30262f4662299c430bda595d24cb3ef14feae1b7b2b774b4453c3f68016cd6cc56b41c4c2be9e376
@@ -1849,13 +1849,19 @@ is_one_of(xmlNodePtr node, char const *const *tagnames, size_t num_tagnames)
1849
1849
  if (name == NULL) { // fragments don't have a name
1850
1850
  return false;
1851
1851
  }
1852
+
1853
+ if (node->ns != NULL) {
1854
+ // if the node has a namespace, it's in a foreign context and is not one of the HTML tags we're
1855
+ // matching against.
1856
+ return false;
1857
+ }
1858
+
1852
1859
  for (size_t idx = 0; idx < num_tagnames; ++idx) {
1853
1860
  if (!strcmp(name, tagnames[idx])) {
1854
1861
  return true;
1855
1862
  }
1856
1863
  }
1857
1864
  return false;
1858
-
1859
1865
  }
1860
1866
 
1861
1867
  static void
Binary file
Binary file
Binary file
Binary file
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nokogiri
4
4
  # The version of Nokogiri you are using
5
- VERSION = "1.16.7"
5
+ VERSION = "1.16.8"
6
6
  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.16.7
4
+ version: 1.16.8
5
5
  platform: aarch64-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: 2024-07-27 00:00:00.000000000 Z
23
+ date: 2024-12-02 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: racc
@@ -36,7 +36,6 @@ dependencies:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
38
  version: '1.4'
39
- force_ruby_platform: false
40
39
  description: |
41
40
  Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a
42
41
  sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is