[libhtml-scrubber-perl] 06/30: Improve punctuation and text flow slightly
Florian Schlichting
fsfs at moszumanska.debian.org
Sat Nov 11 13:46:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to annotated tag release/0.16
in repository libhtml-scrubber-perl.
commit 899b756389e8ba92523e77c470c96a7953e095a1
Author: Paul Cochrane <paul at liekut.de>
Date: Wed Jun 14 11:55:03 2017 +0200
Improve punctuation and text flow slightly
---
lib/HTML/Scrubber.pm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lib/HTML/Scrubber.pm b/lib/HTML/Scrubber.pm
index a77b861..d6e7367 100644
--- a/lib/HTML/Scrubber.pm
+++ b/lib/HTML/Scrubber.pm
@@ -46,7 +46,7 @@ with C<HTML::Parser>.
=head1 METHODS
First a note on documentation: just study the L<EXAMPLE|"EXAMPLE"> below. It's
-all the documentation you could need
+all the documentation you could need.
Also, be sure to read all the comments as well as L<How does it work?|"How does
it work?">.
@@ -231,11 +231,11 @@ sub deny {
...
);
-Updates set of attribute rules. Each rule can be 1/0, regular expression or a
-callback. Values longer than 1 char are treated as regexps. Callback is called
-with the following arguments: this object, tag name, attribute name and
-attribute value, should return empty list to drop attribute, C<undef> to keep
-it without value or a new scalar value.
+Updates a set of attribute rules. Each rule can be 1/0, a regular expression or a
+callback. Values longer than 1 char are treated as regexps. The callback is called
+with the following arguments: the current object, tag name, attribute name, and
+attribute value; the callback should return an empty list to drop the attribute,
+C<undef> to keep it without a value, or a new scalar value.
=cut
@@ -546,7 +546,7 @@ explicit rule if one exists.
If no explicit rule exists, Scrubber applies the default rule.
-If an explicit rule exists, but it's a simple rule(1), the default attribute
+If an explicit rule exists, but it's a simple rule(1), then the default attribute
rule is applied.
=head2 EXAMPLE
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-scrubber-perl.git
More information about the Pkg-perl-cvs-commits
mailing list