Skip to content

Commit 7fe3268

Browse files
authored
dep: updated packaged libxml2 to v2.14.5 (#3527)
**What problem is this PR intended to solve?** https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.5 Note that we drop patch 0011-fix-html-recovery.patch because it's applied to v2.14.5.
2 parents cedfa2c + 54997b1 commit 7fe3268

File tree

4 files changed

+5
-31
lines changed

4 files changed

+5
-31
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Nokogiri follows [Semantic Versioning](https://semver.org/), please see the [REA
88

99
### Dependencies
1010

11-
* [CRuby] Vendored libxml2 is updated to [v2.14.4](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.4), from v2.13.8. libxml2 v2.14 includes changes to more closely adhere to the HTML5 parser spec. Notably, the content of `iframe` and `noframes` tags is now treated as raw text, where previously it was parsed as PCDATA.
11+
* [CRuby] Vendored libxml2 is updated to [v2.14.5](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.5), from v2.13.8. libxml2 v2.14 includes changes to more closely adhere to the HTML5 parser spec. Notably, the content of `iframe` and `noframes` tags is now treated as raw text, where previously it was parsed as PCDATA.
1212
* [CRuby] [Windows and MacOS] Vendored libiconv is updated to [v1.18](https://savannah.gnu.org/news/?id=10703)
1313
* [CRuby] Update to rake-compiler-dock v1.9.1 for building precompiled native gems. (#3404, #3418) @flavorjones
1414

dependencies.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
libxml2:
3-
version: "2.14.4"
4-
sha256: "24175ec30a97cfa86bdf9befb7ccf4613f8f4b2713c5103e0dd0bc9c711a2773"
5-
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.14/libxml2-2.14.1.sha256sum
3+
version: "2.14.5"
4+
sha256: "03d006f3537616833c16c53addcdc32a0eb20e55443cba4038307e3fa7d8d44b"
5+
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.14/libxml2-2.14.5.sha256sum
66

77
libxslt:
88
version: "1.1.43"

patches/libxml2/0011-fix-html-recovery.patch

Lines changed: 0 additions & 26 deletions
This file was deleted.

test/html4/test_document_encoding.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def test_bad_encoding_recovery
9595
skip if Nokogiri.uses_libxml?([">= 2.11.0", "< 2.12.0"])
9696

9797
# https://gitlab.gnome.org/GNOME/libxml2/-/issues/947
98-
skip if Nokogiri.uses_libxml?("~> 2.14.0") && !Nokogiri.libxml2_patches.include?("0011-fix-html-recovery.patch")
98+
skip if Nokogiri.uses_libxml?([">= 2.14.0", "< 2.14.5"])
9999

100100
html = <<~HTML
101101
<html>

0 commit comments

Comments
 (0)