nokogiri 1.16.7-arm-linux → 1.16.8-arm-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: cdaad89befe38ec0f0d0fcefb4ce34396bcb75bf6da16b55a1725209d2609eef
4
- data.tar.gz: d211cb4d58fe366ccbc2139718b1b2deee5f76630316352ac825df46311a6c10
3
+ metadata.gz: 6de10c785fdb7998294fba1de536ad7147bbf603f6eb39c3e8617be08ee2751e
4
+ data.tar.gz: a183586ca675c3fa6449fab001e2361e8144b4c749f9b88e9b67b2fc48211041
5
5
  SHA512:
6
- metadata.gz: ad1529266e8b3cd997709e2488e093a713b7e19aece451840412a2d363b89848f8a01d0e0b3a5f89d3be94ad515e6041699a792f72d0b0da8eeefd8480e94a59
7
- data.tar.gz: 583f8de0827a1c83b21c0715f57a80daf6b00281924eaa9343d6008e6fc1369c3db306a6598ba53de010787c81bae6aa0ccc4a1b1105403032ddf5437a79ea97
6
+ metadata.gz: 52d3b6122d12573c466acb062818c873629787d4ab6367001bb9d2af6ea81758cc789b8f5280a90aeca0027c79ad3c8c480096484ad7c6ee7f65970debce89bb
7
+ data.tar.gz: 5f836fbfc4baeb3152b1362c28b562969c16f0192e69d39a6f08da7b63f12cc32337fd5c22ad7fec167f59c8ec94e0f53214690735558c56b83e85e479882758
@@ -132,7 +132,7 @@ extern "C" {
132
132
  #ifndef WITH_MODULES
133
133
  #define WITH_MODULES
134
134
  #endif
135
- #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/aarch64-linux/libxslt/1.1.39/lib/libxslt-plugins"
135
+ #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/arm-linux/libxslt/1.1.39/lib/libxslt-plugins"
136
136
  #endif
137
137
 
138
138
  /**
@@ -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: 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: 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