File: 02-perldoc.patch

package info (click to toggle)
libhtml-microformats-perl 0.105-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,324 kB
  • ctags: 1,019
  • sloc: perl: 14,121; makefile: 25
file content (861 lines) | stat: -rw-r--r-- 25,304 bytes parent folder | download | duplicates (2)
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
Description: Fix some POD errors, mostly just E<gt>.
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=104146
Author: Peter Pentchev <roam@ringlet.net>
Bug: https://rt.cpan.org/Ticket/Display.html?id=104146
Last-Update: 2015-05-01

--- a/lib/HTML/Microformats.pm
+++ b/lib/HTML/Microformats.pm
@@ -244,7 +244,7 @@
 
 =over 4
 
-=item C<< $doc = HTML::Microformats->new_document($html, $uri, %opts) >>
+=item C<< $doc = HTML::Microformats-E<gt>new_document($html, $uri, %opts) >>
 
 Constructs a document object.
 
@@ -261,7 +261,7 @@
 =head2 Profile Management
 
 HTML::Microformats uses HTML profiles (i.e. the profile attribute on the
-HTML <head> element) to detect which Microformats are used on a page. Any
+HTML E<lt>headE<gt> element) to detect which Microformats are used on a page. Any
 microformats which do not have a profile URI declared will not be parsed.
 
 Because many pages fail to properly declare which profiles they use, there
@@ -271,16 +271,16 @@
 
 =over 4
 
-=item C<< $doc->profiles >>
+=item C<< $doc-E<gt>profiles >>
 
 This method returns a list of profile URIs declared by the document.
 
-=item C<< $doc->has_profile(@profiles) >>
+=item C<< $doc-E<gt>has_profile(@profiles) >>
 
 This method returns true if and only if one or more of the profile URIs
 in @profiles is declared by the document.
 
-=item C<< $doc->add_profile(@profiles) >>
+=item C<< $doc-E<gt>add_profile(@profiles) >>
 
 Using C<add_profile> you can add one or more profile URIs, and they are
 treated as if they were found in the document.
@@ -294,7 +294,7 @@
 
 Returns a reference to the document.
 
-=item C<< $doc->assume_profile(@microformats) >>
+=item C<< $doc-E<gt>assume_profile(@microformats) >>
 
 For example:
 
@@ -308,7 +308,7 @@
 
 Returns	a reference to the document.
 
-=item C<< $doc->assume_all_profiles >>
+=item C<< $doc-E<gt>assume_all_profiles >>
 
 This method is equivalent to calling C<assume_profile> for
 all known microformats.
@@ -324,7 +324,7 @@
 
 =over 4
 
-=item C<< $doc->parse_microformats >>
+=item C<< $doc-E<gt>parse_microformats >>
 
 Scans through the document, finding microformat objects.
 
@@ -332,7 +332,7 @@
 
 Returns	a reference to the document.
 
-=item C<< $doc->clear_microformats >>
+=item C<< $doc-E<gt>clear_microformats >>
 
 Forgets information gleaned by C<parse_microformats> and thus allows
 C<parse_microformats> to be run again. This is useful if you've modified
@@ -349,7 +349,7 @@
 
 =over 4
 
-=item C<< $doc->objects($format); >>
+=item C<< $doc-E<gt>objects($format); >>
 
 $format is, for example, 'hCard', 'adr' or 'RelTag'.
 
@@ -360,7 +360,7 @@
 HTML::Microformat::RelTag object, etc. See the relevant documentation
 for details.
 
-=item C<< $doc->all_objects >>
+=item C<< $doc-E<gt>all_objects >>
 
 Returns a hashref of data. Each hashref key is the name of a microformat
 (e.g. 'hCard', 'RelTag', etc), and the values are arrayrefs of objects.
@@ -369,7 +369,7 @@
 HTML::Microformat::RelTag object, etc. See the relevant documentation
 for details.
 
-=item C<< $doc->json(%opts) >>
+=item C<< $doc-E<gt>json(%opts) >>
 
 Returns data roughly equivalent to the C<all_objects> method, but as a JSON
 string.
@@ -380,16 +380,16 @@
 
   print $doc->json( pretty=>1, canonical=>1, utf8=>0 );
 
-=item C<< $doc->model >>
+=item C<< $doc-E<gt>model >>
 
 Returns data as an RDF::Trine::Model, suitable for serialising as
 RDF or running SPARQL queries.
 
-=item C<< $object->serialise_model(as => $format) >> 
+=item C<< $object-E<gt>serialise_model(as =E<gt> $format) >> 
 
 As C<model> but returns a string.
 
-=item C<< $doc->add_to_model($model) >>
+=item C<< $doc-E<gt>add_to_model($model) >>
 
 Adds data to an existing RDF::Trine::Model.
 
@@ -401,12 +401,12 @@
 
 =over 4
 
-=item C<< HTML::Microformats->modules >>
+=item C<< HTML::Microformats-E<gt>modules >>
 
 Returns a list of Perl modules, each of which implements a specific
 microformat.
 
-=item C<< HTML::Microformats->formats >>
+=item C<< HTML::Microformats-E<gt>formats >>
 
 As per C<modules>, but strips 'HTML::Microformats::Format::' off the
 module name, and sorts alphabetically.
--- a/lib/HTML/Microformats/DocumentContext.pm
+++ b/lib/HTML/Microformats/DocumentContext.pm
@@ -327,7 +327,7 @@
 
 =over
 
-=item C<< $context = HTML::Microformats::DocumentContext->new($dom, $baseuri) >>
+=item C<< $context = HTML::Microformats::DocumentContext-E<gt>new($dom, $baseuri) >>
 
 Creates a new context from a DOM document and a base URI.
 
@@ -339,57 +339,57 @@
 
 =over
 
-=item C<< $context->cache >>
+=item C<< $context-E<gt>cache >>
 
 A Microformat cache for the context. This prevents the same microformat object from
 being parsed and reparsed - e.g. an adr parsed first in its own right, and later as a child
 of an hCard.
 
-=item C<< $context->document >>
+=item C<< $context-E<gt>document >>
 
 Return the modified DOM document.
 
-=item C<< $context->uri( [$relative_reference] ) >>
+=item C<< $context-E<gt>uri( [$relative_reference] ) >>
 
 Called without a parameter, returns the context's base URI.
 
 Called with a parameter, resolves the URI reference relative to the
 base URI.
 
-=item C<< $context->document_uri >>
+=item C<< $context-E<gt>document_uri >>
 
 Returns a URI representing the document itself. (Usually the same as the
 base URI.)
 
-=item C<< $context->make_bnode( [$element] ) >>
+=item C<< $context-E<gt>make_bnode( [$element] ) >>
 
 Mint a blank node identifier or a URI.
 
 If an element is passed, this may be used to construct a URI in some way.
 
-=item C<< $context->profiles >>
+=item C<< $context-E<gt>profiles >>
 
 A list of profile URIs declared by the document.
 
-=item C<< $context->has_profile(@profiles) >>
+=item C<< $context-E<gt>has_profile(@profiles) >>
 
 Returns true iff any of the profiles in the array are declared by the document.
 
-=item C<< $context->add_profile(@profiles) >>
+=item C<< $context-E<gt>add_profile(@profiles) >>
 
 Declare these additional profiles.
 
-=item C<< $context->representative_hcard >>
+=item C<< $context-E<gt>representative_hcard >>
 
 Returns the hCard for the person that is "represented by" the page (in the XFN sense),
 or undef if no suitable hCard could be found
 
-=item C<< $context->representative_person_id( [$as_trine] ) >>
+=item C<< $context-E<gt>representative_person_id( [$as_trine] ) >>
 
-Equivalent to calling C<< $context->representative_hcard->id($as_trine, 'holder') >>,
-however magically works even if $context->representative_hcard returns undef.
+Equivalent to calling C<< $context-E<gt>representative_hcard-E<gt>id($as_trine, 'holder') >>,
+however magically works even if $context-E<gt>representative_hcard returns undef.
 
-=item C<< $context->contact_hcard >>
+=item C<< $context-E<gt>contact_hcard >>
 
 Returns the hCard for the contact person for the page, or undef if none can be found.
 
@@ -398,10 +398,10 @@
 are several such hCards, then the one in the shallowest E<lt>addressE<gt> tag is
 used; if there are several E<lt>addressE<gt> tags equally shallow, the first is used.
 
-=item C<< $context->contact_person_id( [$as_trine] ) >>
+=item C<< $context-E<gt>contact_person_id( [$as_trine] ) >>
 
-Equivalent to calling C<< $context->contact_hcard->id($as_trine, 'holder') >>,
-however magically works even if $context->contact_hcard returns undef.
+Equivalent to calling C<< $context-E<gt>contact_hcard-E<gt>id($as_trine, 'holder') >>,
+however magically works even if $context-E<gt>contact_hcard returns undef.
 
 =back
 
--- a/lib/HTML/Microformats/Format_Rel.pm
+++ b/lib/HTML/Microformats/Format_Rel.pm
@@ -21,19 +21,19 @@
 
 =over 4
 
-=item C<< $relfoo->get_href() >>
+=item C<< $relfoo-E<gt>get_href() >>
 
 Returns the absolute URL of the resource being linked to.
 
-=item C<< $relfoo->get_label() >>
+=item C<< $relfoo-E<gt>get_label() >>
 
 Returns the linked text of the E<lt>aE<gt> element. Microformats patterns
 like value excerpting are used.
 
-=item C<< $relfoo->get_title() >>
+=item C<< $relfoo-E<gt>get_title() >>
 
 Returns the contents of the title attribute of the E<lt>aE<gt> element,
-or the same as C<< $relfoo->get_label() >> if the attribute is not set.
+or the same as C<< $relfoo-E<gt>get_label() >> if the attribute is not set.
 
 =back
 
--- a/lib/HTML/Microformats/ObjectCache.pm
+++ b/lib/HTML/Microformats/ObjectCache.pm
@@ -86,7 +86,7 @@
 
 =over
 
-=item C<< $cache = HTML::Microformats::ObjectCache->new >>
+=item C<< $cache = HTML::Microformats::ObjectCache-E<gt>new >>
 
 Creates a new, empty cache.
 
@@ -96,17 +96,17 @@
 
 =over
 
-=item C<< $cache->set($context, $package, $element, $object); >>
+=item C<< $cache-E<gt>set($context, $package, $element, $object); >>
 
 For a given context, package (e.g. 'HTML::Microformats::Format::hCard') and DOM
 element node, stores an object in the cache.
 
-=item C<< $object = $cache->get($context, $package, $element); >>
+=item C<< $object = $cache-E<gt>get($context, $package, $element); >>
 
 For a given context, package (e.g. 'HTML::Microformats::Format::hCard') and DOM
 element node, retrieves an object from the cache.
 
-=item C<< @objects = $cache->get_all($context, [$package]); >>
+=item C<< @objects = $cache-E<gt>get_all($context, [$package]); >>
 
 For a given context and package (e.g. 'HTML::Microformats::Format::hCard'), retrieves a
 list of objects from within the cache.
--- a/lib/HTML/Microformats/Utilities.pm
+++ b/lib/HTML/Microformats/Utilities.pm
@@ -218,7 +218,7 @@
 =item C<< stringify($node, \%options) >>
 
 Returns a stringified version of a DOM element. This is conceptually equivalent
-to C<< $node->textContent >>, but follows microformat-specific stringification
+to C<< $node-E<gt>textContent >>, but follows microformat-specific stringification
 rules, including value excerption, the abbr pattern and so on.
 
 =cut
@@ -674,7 +674,7 @@
 =item C<< xml_stringify($node) >>
 
 Returns an XML serialisation of a DOM element. This is conceptually equivalent
-to C<< $node->toStringEC14N >>, but hides certain attributes which
+to C<< $node-E<gt>toStringEC14N >>, but hides certain attributes which
 HTML::Microformats::DocumentContext adds for internal processing.
 
 =cut
--- a/lib/HTML/Microformats/Datatype/DateTime.pm
+++ b/lib/HTML/Microformats/Datatype/DateTime.pm
@@ -38,7 +38,7 @@
 
 =over 4
 
-=item C<< $dt = HTML::Microformats::Datatype::DateTime->parse($string, $elem, $context, [$tz], [$base]) >>
+=item C<< $dt = HTML::Microformats::Datatype::DateTime-E<gt>parse($string, $elem, $context, [$tz], [$base]) >>
 
 Creates a new HTML::Microformats::Datatype::DateTime object.
 
@@ -191,7 +191,7 @@
 
 =over 4
 
-=item C<< $d->to_string >>
+=item C<< $d-E<gt>to_string >>
 
 Returns a literal string.
 
@@ -220,7 +220,7 @@
 	}
 }
 
-=item C<< $d->datatype >>
+=item C<< $d-E<gt>datatype >>
 
 Returns an the RDF datatype URI representing the data type of this literal.
 
--- a/lib/HTML/Microformats/Datatype/DateTime/Parser.pm
+++ b/lib/HTML/Microformats/Datatype/DateTime/Parser.pm
@@ -10,7 +10,7 @@
 support for whitespace between the date and time instead of a "T". It also
 calculates the "resolution" of the datetime (e.g. is it specified to year,
 month, day, hour, minute, second or nanosecond precision) which it places
-in $dt->{'resolution'}.
+in $dt-E<gt>{'resolution'}.
 
 Other than that, it can be used exactly as DateTime::Format::ISO8601 can.
 It parses strings into normal DateTime objects.
--- a/lib/HTML/Microformats/Datatype/Duration.pm
+++ b/lib/HTML/Microformats/Datatype/Duration.pm
@@ -35,7 +35,7 @@
 
 =over 4
 
-=item C<< $d = HTML::Microformats::Datatype::Duration->new($duration) >>
+=item C<< $d = HTML::Microformats::Datatype::Duration-E<gt>new($duration) >>
 
 Creates a new HTML::Microformats::Datatype::Duration object.
 
@@ -54,7 +54,7 @@
 	return $this;
 }
 
-=item C<< $d = HTML::Microformats::Datatype::Duration->parse($string, $elem, $context) >>
+=item C<< $d = HTML::Microformats::Datatype::Duration-E<gt>parse($string, $elem, $context) >>
 
 Creates a new HTML::Microformats::Datatype::Duration object.
 
@@ -349,7 +349,7 @@
 
 =over 4
 
-=item C<< $d->duration >>
+=item C<< $d-E<gt>duration >>
 
 Returns a DateTime::Duration object.
 
@@ -361,7 +361,7 @@
 	return $self->{d}
 }
 
-=item C<< $d->to_string >>
+=item C<< $d-E<gt>to_string >>
 
 Returns an ISO 8601 formatted string representing the duration.
 
@@ -411,7 +411,7 @@
 	return $self->to_string;
 }
 
-=item C<< $d->datatype >>
+=item C<< $d-E<gt>datatype >>
 
 Returns an the RDF datatype URI representing the data type of this literal.
 
--- a/lib/HTML/Microformats/Datatype/Interval.pm
+++ b/lib/HTML/Microformats/Datatype/Interval.pm
@@ -35,7 +35,7 @@
 
 =over 4
 
-=item C<< $i = HTML::Microformats::Datatype::Interval->new($span) >>
+=item C<< $i = HTML::Microformats::Datatype::Interval-E<gt>new($span) >>
 
 Creates a new HTML::Microformats::Datatype::Interval object.
 
@@ -54,7 +54,7 @@
 	return $this;
 }
 
-=item C<< $i = HTML::Microformats::Datatype::Interval->parse($string, $elem, $context) >>
+=item C<< $i = HTML::Microformats::Datatype::Interval-E<gt>parse($string, $elem, $context) >>
 
 Creates a new HTML::Microformats::Datatype::Interval object.
 
@@ -211,7 +211,7 @@
 
 =over 4
 
-=item C<< $span = $i->span >>
+=item C<< $span = $i-E<gt>span >>
 
 Returns a DateTime::Span object.
 
@@ -223,7 +223,7 @@
 	return $this->{i}
 }
 
-=item C<< $span = $i->to_string >>
+=item C<< $span = $i-E<gt>to_string >>
 
 Returns an ISO 8601 formatted string representing the interval.
 
@@ -243,7 +243,7 @@
 	return $this->to_string;
 }
 
-=item C<< $d->datatype >>
+=item C<< $d-E<gt>datatype >>
 
 Returns an the RDF datatype URI representing the data type of this literal.
 
--- a/lib/HTML/Microformats/Datatype/RecurringDateTime.pm
+++ b/lib/HTML/Microformats/Datatype/RecurringDateTime.pm
@@ -32,7 +32,7 @@
 
 =over 4
 
-=item C<< $r = HTML::Microformats::Datatype::RecurringDateTime->new($string, [$context]) >>
+=item C<< $r = HTML::Microformats::Datatype::RecurringDateTime-E<gt>new($string, [$context]) >>
 
 Creates a new HTML::Microformats::Datatype::RecurringDateTime object.
 
@@ -47,7 +47,7 @@
 	bless {}, $class;
 }
 
-=item C<< $r = HTML::Microformats::Datatype::RecurringDateTime->parse($string, $elem, $context) >>
+=item C<< $r = HTML::Microformats::Datatype::RecurringDateTime-E<gt>parse($string, $elem, $context) >>
 
 Creates a new HTML::Microformats::Datatype::RecurringDateTime object.
 
@@ -141,7 +141,7 @@
 	return $self;
 }
 
-=item C<< $r = HTML::Microformats::Datatype::RecurringDateTime->parse_string($string, [$context]) >>
+=item C<< $r = HTML::Microformats::Datatype::RecurringDateTime-E<gt>parse_string($string, [$context]) >>
 
 Essentially just an alias for C<< new >>.
 
@@ -182,7 +182,7 @@
 
 =over 4
 
-=item C<< $r->to_string >>
+=item C<< $r-E<gt>to_string >>
 
 Returns an iCal-RRULE-style formatted string representing the recurrance.
 
@@ -212,7 +212,7 @@
 	return $rv;
 }
 
-=item C<< $r->datatype >>
+=item C<< $r-E<gt>datatype >>
 
 Returns an the RDF datatype URI representing the data type of this literal.
 
@@ -224,7 +224,7 @@
 	return 'http://buzzword.org.uk/rdf/icaltzdx#recur';
 }
 
-=item C<< $r->add_to_model($model) >>
+=item C<< $r-E<gt>add_to_model($model) >>
 
 Adds the recurring datetime to an RDF model as a resource (not a literal).
 
--- a/lib/HTML/Microformats/Datatype/String.pm
+++ b/lib/HTML/Microformats/Datatype/String.pm
@@ -34,7 +34,7 @@
 
 =over 4
 
-=item C<< $str = HTML::Microformats::Datatype::String->new($text, [$lang]) >>
+=item C<< $str = HTML::Microformats::Datatype::String-E<gt>new($text, [$lang]) >>
 
 Creates a new HTML::Microformats::Datatype::String object.
 
@@ -57,7 +57,7 @@
 
 =over 4
 
-=item C<< $str->lang >>
+=item C<< $str-E<gt>lang >>
 
 Return the language code.
 
@@ -69,7 +69,7 @@
 	return $this->{'lang'};
 }
 
-=item C<< $str->to_string >>
+=item C<< $str-E<gt>to_string >>
 
 Return a plain (scalar) string.
 
--- a/lib/HTML/Microformats/Format.pm
+++ b/lib/HTML/Microformats/Format.pm
@@ -40,7 +40,7 @@
 
 =over 4
 
-=item C<< $object = HTML::Microformats::Format->new($element, $context, %options) >>
+=item C<< $object = HTML::Microformats::Format-E<gt>new($element, $context, %options) >>
 
 Parse a microformat with root element $element. 
 
@@ -51,7 +51,7 @@
 	die "Cannot instantiate HTML::Microformats::Format.\n";
 }
 
-=item C<< $object = HTML::Microformats::Format->extract_all($element, $context, %options) >>
+=item C<< $object = HTML::Microformats::Format-E<gt>extract_all($element, $context, %options) >>
 
 Find and parse all such microformats within element $element. 
 
@@ -244,7 +244,7 @@
 
 =over 4
 
-=item C<< $object->format_signature >> or C<< $class->format_signature >>
+=item C<< $object-E<gt>format_signature >> or C<< $class-E<gt>format_signature >>
 
 This method may be called as a class or object method. It returns various information
 about the definition of this microformat (e.g. what is the root class, which properties
@@ -264,7 +264,7 @@
 		};
 }
 
-=item C<< $object->profiles >> or C<< $class->profiles >>
+=item C<< $object-E<gt>profiles >> or C<< $class-E<gt>profiles >>
 
 This method may be called as a class or object method. It returns HTML profile
 URIs which indicate the presence of this microformat.
@@ -276,7 +276,7 @@
 	return qw();
 }
 
-=item C<< $object->context >> 
+=item C<< $object-E<gt>context >> 
 
 Returns the parsing context (as supplied to C<new>).
 
@@ -287,7 +287,7 @@
 	return $_[0]->{'context'};
 }
 
-=item C<< $object->data >> 
+=item C<< $object-E<gt>data >> 
 
 Returns a hashref of object data. This is a reference to the live data inside the
 object. Any changes to the returned hashref will change the values inside the object.
@@ -305,7 +305,7 @@
 	return data( $_[0] );
 }
 
-=item C<< $object->element >> 
+=item C<< $object-E<gt>element >> 
 
 Returns the root element.
 
@@ -316,9 +316,9 @@
 	return $_[0]->{'element'};
 }
 
-=item C<< $object->cache >> 
+=item C<< $object-E<gt>cache >> 
 
-Shortcut for C<< $object->context->cache >>.
+Shortcut for C<< $object-E<gt>context-E<gt>cache >>.
 
 =cut
 
@@ -327,7 +327,7 @@
 	return $_[0]->{'cache'};
 }
 
-=item C<< $object->id([$trine_obj], [$role]) >> 
+=item C<< $object-E<gt>id([$trine_obj], [$role]) >> 
 
 Returns a blank node identifier or identifying URI for the object.
 
@@ -361,7 +361,7 @@
 	       RDF::Trine::Node::Resource->new($id);
 }
 
-=item C<< $object->add_to_model($model) >> 
+=item C<< $object-E<gt>add_to_model($model) >> 
 
 Given an RDF::Trine::Model object, adds relevant data to the model.
 
@@ -377,7 +377,7 @@
 	return $self;
 }
 
-=item C<< $object->model >> 
+=item C<< $object-E<gt>model >> 
 
 Creates a fresh, new RDF::Trine::Model object, containing relevant data.
 
@@ -391,7 +391,7 @@
 	return $model;
 }
 
-=item C<< $object->serialise_model(as => $format) >> 
+=item C<< $object-E<gt>serialise_model(as =E<gt> $format) >> 
 
 As C<model> but returns a string.
 
--- a/lib/HTML/Microformats/Format/RelEnclosure.pm
+++ b/lib/HTML/Microformats/Format/RelEnclosure.pm
@@ -22,7 +22,7 @@
 
 =over 4
 
-=item C<< $relenc->get_type() >>
+=item C<< $relenc-E<gt>get_type() >>
 
 Returns the media type (Content-Type) of the resource being linked to. This
 is taken from the HTML 'type' attribute, so if that's not present, returns undef.
--- a/lib/HTML/Microformats/Format/RelTag.pm
+++ b/lib/HTML/Microformats/Format/RelTag.pm
@@ -21,7 +21,7 @@
 
 =over 4
 
-=item C<< $reltag->get_tag() >>
+=item C<< $reltag-E<gt>get_tag() >>
 
 Returns the tag being linked to. Given the following link:
 
@@ -29,7 +29,7 @@
 
 the tag is "bar".
 
-=item C<< $reltag->get_tagspace() >>
+=item C<< $reltag-E<gt>get_tagspace() >>
 
 Returns the tagspace of the tag being linked to. Given the following link:
 
--- a/lib/HTML/Microformats/Format/VoteLinks.pm
+++ b/lib/HTML/Microformats/Format/VoteLinks.pm
@@ -21,11 +21,11 @@
 
 =over 4
 
-=item C<< $link->get_vote() >>
+=item C<< $link-E<gt>get_vote() >>
 
 Returns the string 'for', 'against' or 'abstain'.
 
-=item C<< $link->get_voter() >>
+=item C<< $link-E<gt>get_voter() >>
 
 Returns the hCard of the person who authored the VoteLinks link, if it can
 be determined from context. (It usually can't unless the page is also using
--- a/lib/HTML/Microformats/Format/XFN.pm
+++ b/lib/HTML/Microformats/Format/XFN.pm
@@ -443,7 +443,7 @@
 
 =over 4
 
-=item C<< $xfn->subject_hcard >>
+=item C<< $xfn-E<gt>subject_hcard >>
 
 Returns the hCard for the subject of the relationship. e.g. if Mary has parent Sue, then
 Mary is the subject.
@@ -458,7 +458,7 @@
 	return $self->context->representative_hcard;
 }
 
-=item C<< $xfn->object_hcard >>
+=item C<< $xfn-E<gt>object_hcard >>
 
 Returns the hCard for the object of the relationship. e.g. if Mary has parent Sue, then
 Sue is the object.
--- a/lib/HTML/Microformats/Format/XOXO.pm
+++ b/lib/HTML/Microformats/Format/XOXO.pm
@@ -189,17 +189,17 @@
 
 =over 4
 
-=item C<< $dl->get_values($key) >>
+=item C<< $dl-E<gt>get_values($key) >>
 
 Treating a DL as a key-value structure, returns a list of values for a given key.
 Each value is an HTML::Microformats::Format::XOXO::DD object.
 
-=item C<< $dl->as_hash >>
+=item C<< $dl-E<gt>as_hash >>
 
 Returns a hash of keys pointing to arrayrefs of values, where each value is an
 HTML::Microformats::Format::XOXO::DD object.
 
-=item C<< $dl->as_array >>
+=item C<< $dl-E<gt>as_array >>
 
 Logically what you think get_values("*") might do.
 
@@ -285,7 +285,7 @@
 
 =over 4
 
-=item C<< $ul->as_array >>
+=item C<< $ul-E<gt>as_array >>
 
 Returns an array of values, where each is a HTML::Microformats::Format::XOXO::LI object.
 
@@ -307,7 +307,7 @@
 
 =over 4
 
-=item C<< $ol->as_array >>
+=item C<< $ol-E<gt>as_array >>
 
 Returns an array of values, where each is a HTML::Microformats::Format::XOXO::LI object.
 
@@ -476,48 +476,48 @@
 
 =over 4
 
-=item C<< $li->get_link_href >>
+=item C<< $li-E<gt>get_link_href >>
 
 Returns the URL linked to by the B<first> link found within the item.
 
-=item C<< $li->get_link_rel >>
+=item C<< $li-E<gt>get_link_rel >>
 
 Returns the value of the rel attribute of the first link found within the item.
 This is an unparsed string.
 
-=item C<< $li->get_link_type >>
+=item C<< $li-E<gt>get_link_type >>
 
 Returns the value of the type attribute of the first link found within the item.
 This is an unparsed string.
 
-=item C<< $li->get_link_title >>
+=item C<< $li-E<gt>get_link_title >>
 
 Returns the value of the rel attribute of the first link found within the item
 if present; the link text otherwise.
 
-=item C<< $li->get_text >>
+=item C<< $li-E<gt>get_text >>
 
 Returns the value of the text in the LI element B<except> for the first DL
 element within the LI, and the first UL or OL element.
 
-=item C<< $li->get_html >>
+=item C<< $li-E<gt>get_html >>
 
 Returns the HTML code in the LI element B<except> for the first DL
 element within the LI, and the first UL or OL element.
 
-=item C<< $li->get_properties >>
+=item C<< $li-E<gt>get_properties >>
 
 Returns an HTML::Microformats::Format::XOXO::DL object representing the first
 DL element within the LI.
 
-=item C<< $li->get_children >>
+=item C<< $li-E<gt>get_children >>
 
 Returns an HTML::Microformats::Format::XOXO::OL or HTML::Microformats::Format::XOXO::UL
 object representing the first OL or UL element within the LI.
 
-=item C<< $li->get_value($key) >>
+=item C<< $li-E<gt>get_value($key) >>
 
-A shortcut for C<< $li->get_properties->get_values($key) >>.
+A shortcut for C<< $li-E<gt>get_properties-E<gt>get_values($key) >>.
 
 =back
 
--- a/lib/HTML/Microformats/Format/hAtom.pm
+++ b/lib/HTML/Microformats/Format/hAtom.pm
@@ -31,7 +31,7 @@
 
 =item * C<< to_atom >>
 
-This method exports the data as an XML file containing an Atom <feed>.
+This method exports the data as an XML file containing an Atom E<lt>feedE<gt>.
 It requires L<XML::Atom::FromOWL> to work, and will throw an error at
 run-time if it's not available.
 
--- a/lib/HTML/Microformats/Format/hEntry.pm
+++ b/lib/HTML/Microformats/Format/hEntry.pm
@@ -35,7 +35,7 @@
 
 =item * C<< to_atom >>
 
-This method exports the data as an XML file containing an Atom <entry>.
+This method exports the data as an XML file containing an Atom E<lt>entryE<gt>.
 It requires L<XML::Atom::FromOWL> to work, and will throw an error at
 run-time if it's not available.
 
--- a/lib/HTML/Microformats/Format/hResume.pm
+++ b/lib/HTML/Microformats/Format/hResume.pm
@@ -319,7 +319,7 @@
 
 The RDF output is modelled on Uldis Bojars' ResumeRDF Ontology
 L<http://purl.org/captsolo/resume-rdf/0.2/cv#>, with some additional
-terms from Toby Inkster's hResume vocab <http://ontologi.es/hresume#>.
+terms from Toby Inkster's hResume vocab L<http://ontologi.es/hresume#>.
 
 =head1 BUGS
 
--- a/lib/HTML/Microformats/Format/hReview.pm
+++ b/lib/HTML/Microformats/Format/hReview.pm
@@ -396,7 +396,7 @@
 outside the hReview, in the context of the page, for the "reviewer". 
 If there is no "reviewer" outside either, then parsers should use the
 author defined by the containing document language, e.g. for HTML
-documents, the <address> contact info for the page (which is ideally
+documents, the E<lt>addressE<gt> contact info for the page (which is ideally
 marked up as an hCard as well).
 
 =back