Correct some broken grammar / spelling / syntax / etc

Signed-off-by: yangbo <yangbo1@xfusion.com>
This commit is contained in:
yangbo 2023-01-19 11:05:41 +08:00
parent 541bcc3633
commit 4fa04e45d2
2 changed files with 38 additions and 1 deletions

View File

@ -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-&gt;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
- &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt; (and not newer &lt;meta charset="utf-8"&gt;),
+ &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt; (rather than the newer &lt;meta charset="utf-8"&gt;),
else all non-ASCII will become entities.</para>
</listitem>
</varlistentry>
--
2.39.0.windows.2

View File

@ -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
@ -80,6 +81,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