[libmojomojo-perl] 12/14: Add a patch to fix spelling issues in the POD.
gregor herrmann
gregoa at debian.org
Sat Jan 13 22:02:29 UTC 2018
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libmojomojo-perl.
commit 469f8b18e9229ad6bbf758ab174476caee202823
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Jan 13 22:43:16 2018 +0100
Add a patch to fix spelling issues in the POD.
---
debian/patches/series | 1 +
debian/patches/spelling.patch | 71 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5299247
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..4d17c6f
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,71 @@
+Description: spelling fixes
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2018-01-13
+Forwarded: https://github.com/mojomojo/mojomojo/pull/154
+Bug: https://github.com/mojomojo/mojomojo/pull/154
+
+--- a/lib/MojoMojo/Declaw.pm
++++ b/lib/MojoMojo/Declaw.pm
+@@ -25,8 +25,8 @@
+ # Callback for custom handling specific HTML tags
+ sub DefangTagsCallback {
+ my ($Self, $Defang, $OpenAngle, $lcTag, $IsEndTag, $AttributeHash, $CloseAngle, $HtmlR, $OutR) = @_;
+- return 1 if $lcTag eq 'br'; # Explicitly defang this tag, eventhough safe
+- return 0 if $lcTag eq 'embed'; # Explicitly whitelist this tag, eventhough unsafe
++ return 1 if $lcTag eq 'br'; # Explicitly defang this tag, even though safe
++ return 0 if $lcTag eq 'embed'; # Explicitly whitelist this tag, even though unsafe
+ return 2 if $lcTag eq 'img'; # I am not sure what to do with this tag, so process as HTML::Defang normally would
+ }
+
+@@ -1427,7 +1427,7 @@
+
+ =item I<$Attributes>
+
+-A reference to an array of the attributes and their values, including any surrouding spaces. Each element of the array is added by 'push' calls like below.
++A reference to an array of the attributes and their values, including any surrounding spaces. Each element of the array is added by 'push' calls like below.
+
+ push @$Attributes, [ $AttributeName, $SpaceBeforeEquals, $EqualsAndSubsequentSpace, $QuoteChar, $AttributeValue, $QuoteChar, $SpaceAfterAtributeValue ];
+
+@@ -2261,7 +2261,7 @@
+
+ =head1 COPYRIGHT AND LICENSE
+
+-HTML::Declaw is a modifed version of HTML::Defang which has the following license:
++HTML::Declaw is a modified version of HTML::Defang which has the following license:
+
+ Copyright (C) 2003-2009 by The FastMail Partnership
+
+--- a/lib/MojoMojo/Formatter/Amazon.pm
++++ b/lib/MojoMojo/Formatter/Amazon.pm
+@@ -25,7 +25,7 @@
+ in the amazon web store.
+
+ It automatically handles books/movies/dvds and formats them as
+-apropriate. You can also pass 'small' as a parameter after the
++appropriate. You can also pass 'small' as a parameter after the
+ url, and it will make a thumb link instead of a blurb.
+
+ =head1 METHODS
+--- a/lib/MojoMojo/View/TT.pm
++++ b/lib/MojoMojo/View/TT.pm
+@@ -32,7 +32,7 @@
+
+ =head2 new
+
+-Contructor for TT View. Can configure paths to .tt files here.
++Constructor for TT View. Can configure paths to .tt files here.
+
+ =cut
+
+--- a/script/mojomojo_update_db.pl
++++ b/script/mojomojo_update_db.pl
+@@ -10,7 +10,7 @@
+
+ =head1 DESCRIPTION
+
+-DBIx Versionning see on catapulse.org http://www.catapulse.org/articles/view/75
++DBIx Versioning see on catapulse.org http://www.catapulse.org/articles/view/75
+
+ =cut
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmojomojo-perl.git
More information about the Pkg-perl-cvs-commits
mailing list