1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
Description: Fix a couple of typographical and grammatical errors.
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=104145
Author: Peter Pentchev <roam@ringlet.net>
Bug: https://rt.cpan.org/Ticket/Display.html?id=104145
Last-Update: 2015-05-01
--- a/README
+++ b/README
@@ -56,7 +56,7 @@
"$doc->add_profile(@profiles)"
Using "add_profile" you can add one or more profile URIs, and they
- are treated as if they were found on the document.
+ are treated as if they were found in the document.
For example:
@@ -100,7 +100,7 @@
"$doc->clear_microformats"
Forgets information gleaned by "parse_microformats" and thus allows
"parse_microformats" to be run again. This is useful if you've
- modified added some profiles between runs of "parse_microformats".
+ modified or added some profiles between runs of "parse_microformats".
Returns a reference to the document.
@@ -115,7 +115,7 @@
context, returns an arrayref.)
Each object is, for example, an HTML::Microformat::hCard object, or
- an HTML::Microformat::RelTag object, etc. See the relevent
+ an HTML::Microformat::RelTag object, etc. See the relevant
documentation for details.
"$doc->all_objects"
@@ -124,7 +124,7 @@
arrayrefs of objects.
Each object is, for example, an HTML::Microformat::hCard object, or
- an HTML::Microformat::RelTag object, etc. See the relevent
+ an HTML::Microformat::RelTag object, etc. See the relevant
documentation for details.
"$doc->json(%opts)"
--- a/lib/HTML/Microformats.pm
+++ b/lib/HTML/Microformats.pm
@@ -283,7 +283,7 @@
=item C<< $doc->add_profile(@profiles) >>
Using C<add_profile> you can add one or more profile URIs, and they are
-treated as if they were found on the document.
+treated as if they were found in the document.
For example:
@@ -336,7 +336,7 @@
Forgets information gleaned by C<parse_microformats> and thus allows
C<parse_microformats> to be run again. This is useful if you've modified
-added some profiles between runs of C<parse_microformats>.
+or added some profiles between runs of C<parse_microformats>.
Returns a reference to the document.
@@ -357,7 +357,7 @@
returns an arrayref.)
Each object is, for example, an HTML::Microformat::hCard object, or an
-HTML::Microformat::RelTag object, etc. See the relevent documentation
+HTML::Microformat::RelTag object, etc. See the relevant documentation
for details.
=item C<< $doc->all_objects >>
@@ -366,7 +366,7 @@
(e.g. 'hCard', 'RelTag', etc), and the values are arrayrefs of objects.
Each object is, for example, an HTML::Microformat::hCard object, or an
-HTML::Microformat::RelTag object, etc. See the relevent documentation
+HTML::Microformat::RelTag object, etc. See the relevant documentation
for details.
=item C<< $doc->json(%opts) >>
--- a/lib/HTML/Microformats/Datatype/Duration.pm
+++ b/lib/HTML/Microformats/Datatype/Duration.pm
@@ -160,7 +160,7 @@
# Standard=ISO-8601.
if ($string2 =~ /^
\s*
- ([\+\-])? # Potentially negitive...
+ ([\+\-])? # Potentially negative...
P # Period of...
(?:([\d\.]*)Y)? # n Years
(?:([\d\.]*)M)? # n Months
|