nokogiri 1.16.7-x64-mingw32 → 1.16.8-x64-mingw32

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: ef5596003ae934c4fa6497ebc8bd0747c4a234f2ea26d4661858d6da1c45c377
4
- data.tar.gz: f58aedf4f78c5dc514d67019b69a5e4dfbbd86f86e38c1996ccf023469cc4220
3
+ metadata.gz: 9989785ce7cb7963fe97ec71f397d57a0ff4fd93c506d13571e3158edebbd9ad
4
+ data.tar.gz: 32cfc4c02461dcecaa3f45cac74c34e7693464d10c4de48295fdb0260479e01c
5
5
  SHA512:
6
- metadata.gz: a08293c43ec1a74b539e413201b04917c30432afd075ede49e794a3d035618eae357f71005d4d64a7281e7808a486073eef03f1033e9b4bf702eb3785f07be1b
7
- data.tar.gz: bc96b692426c14671df64f9ec724c9aaf83eeb77cdcc5c3cefc4e760ed76bcfe4d65e07a16b57c0fcdb483655663d3f7d213a4f945b9631a07bf40faed662e28
6
+ metadata.gz: f69c448f9d01be1434f27624a4b24da6516865e6be864dbf153ce32850de69555ad0dadb5c620242b8ec2ed7ab797edc04ae1458deb130077ca6c88402897899
7
+ data.tar.gz: bc025ff79bb8e2b9d6fec134ed0882115660418ab93b8af9d7e240737f6f70a3858ed43c17d3bd8a850c85a3bcd5bccee617838b3151a0bd66ceafff4c4fc445
@@ -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/x64-mingw-ucrt/libxslt/1.1.39/lib/libxslt-plugins"
135
+ #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/x64-mingw32/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
@@ -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: x64-mingw32
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