From bb6653d0909cf599a1f37f52c0c94cbdcb043478 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Wed, 10 May 2023 10:38:23 -0400 Subject: [PATCH] version bump to v2.21.1 --- CHANGELOG.md | 7 +++++++ lib/loofah/version.rb | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f955a2..f7a6d27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 2.21.1 / 2023-05-10 + +### Fixed + +* Don't define `HTML5::Document` and `HTML5::DocumentFragment` when Nokogiri is `< 1.14`. In 2.21.0 these classes were defined whenever `Nokogiri::HTML5` was defined, but Nokogiri v1.12 and v1.13 do not support Loofah subclassing properly. + + ## 2.21.0 / 2023-05-10 ### HTML5 Support diff --git a/lib/loofah/version.rb b/lib/loofah/version.rb index 0cf903f..704efe3 100644 --- a/lib/loofah/version.rb +++ b/lib/loofah/version.rb @@ -2,5 +2,5 @@ module Loofah # The version of Loofah you are using - VERSION = "2.21.0" + VERSION = "2.21.1" end