diff --git a/backport-0002-Correct-some-broken-grammar-spelling-syntax-etc.patch b/backport-0002-Correct-some-broken-grammar-spelling-syntax-etc.patch new file mode 100644 index 0000000000000000000000000000000000000000..812b70fe55925978f030952b2e8e6e01262ade64 --- /dev/null +++ b/backport-0002-Correct-some-broken-grammar-spelling-syntax-etc.patch @@ -0,0 +1,33 @@ +From af276c6137405ce2ab7ade54e74dbf81237f41e6 Mon Sep 17 00:00:00 2001 +From: Shlomi Fish <shlomif@shlomifish.org> +Date: Thu, 24 Jun 2021 15:47:10 +0300 +Subject: [PATCH 02/11] Correct some broken grammar / spelling / syntax / etc. + +See https://duckduckgo.com/?q=english+grammar&ia=web ; +https://duckduckgo.com/?q=english+spelling&ia=web and for the lighter side: + +* https://www.youtube.com/watch?v=8Gv0H-vPoDc + +* https://shlomif.livejournal.com/53966.html + +* http://i.imgur.com/HL1ZR.jpg . +--- + docs/libxml.dbk | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/docs/libxml.dbk b/docs/libxml.dbk +index b307510..598554d 100644 +--- a/docs/libxml.dbk ++++ b/docs/libxml.dbk +@@ -2599,7 +2599,7 @@ print {$out_fh} $doc->toString;</programlisting> + + <para><emphasis>toStringHTML</emphasis> serialize the tree to a byte string in the document encoding as HTML. With this method indenting is automatic and managed by + libxml2 internally. Note the string must contain +- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> (and not newer <meta charset="utf-8">), ++ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> (rather than the newer <meta charset="utf-8">), + else all non-ASCII will become entities.</para> + </listitem> + </varlistentry> +-- +2.39.0.windows.2 + diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec index 75639cf400980bda709c0f3d46b8d6a9655da009..4a35f412a2a08e7e414f87cc12375a72875a42ea 100644 --- a/perl-XML-LibXML.spec +++ b/perl-XML-LibXML.spec @@ -1,6 +1,6 @@ Name: perl-XML-LibXML Version: 2.0207 -Release: 3 +Release: 4 Epoch: 1 Summary: Perl Binding for libxml2 License: (GPL+ or Artistic) and MIT @@ -25,6 +25,7 @@ Provides: perl-XML-LibXML-Common = %{version} Obsoletes: perl-XML-LibXML-Common <= 0.13 Patch0001: backport-0001-Add-meta-sniffing-warning.patch +Patch0002: backport-0002-Correct-some-broken-grammar-spelling-syntax-etc.patch %description This module is Perl Binding for libxml2, which implements a Perl interface to @@ -79,6 +80,9 @@ fi %{_mandir}/man*/* %changelog +* Thu Jan 19 2023 yangbo <yangbo1@xfusion.com> - 1:2.0207-4 +- Correct some broken grammar / spelling / syntax / etc + * Wed Jan 18 2023 yangbo <yangbo1@xfusion.com> - 1:2.0207-3 - Add <meta> sniffing warning