nokogiri 1.16.7-x86-linux → 1.16.8-x86-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: 05e85b07222ead76a99ea6ccc97b89a4516e910fdd429e4fd87a503e961e2804
4
- data.tar.gz: e351beb3ef2bc0da22f4979307a71d9b779a35de4afd19b9762447811c7bed4a
3
+ metadata.gz: 064ee4881b05c1c842ef4dec3312350309a4dc34336423aa391518364d75a2d0
4
+ data.tar.gz: 68c22964388278b61a564a277f4b7ce5c606d4a9cf62c7e67ff809cb21daa918
5
5
  SHA512:
6
- metadata.gz: e05d2a88d271df77d2f554fc48f2473ed70b28171771c55a4e81b2291266859ca5017af723e3298f22069a758252fde8f98555d97ad41bc2ae6820b318953560
7
- data.tar.gz: dce87b3988e164421f4ef05f834afe466189ceb3f7bac3fdfb4bb89a3544deae3a32bd5f2519d3b4cbf640d1fe5d8dd5d19efc7ad95b67b76f109da340427927
6
+ metadata.gz: 377bd5808ee3ccd9e0d5839010c533c65e061f2874c2b993e39ea9b739c7b7c337baa65fa4bfb6f5b57416561cfd7ace964af9e70f3c4d94093ac83da3b01ea7
7
+ data.tar.gz: f3933e5677bbc89e30f3bb1a866297af8de531d9111784a6e894e1a8805c724170edddb8cd9caf31506e21c8707f76773fcd210da3221c06f9797d227d1a2a84
@@ -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/x86-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: x86-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