Subject: | [Patch] POD nits |
The attached patch fixes some POD, which renders wrong, at least at
search.cpan.org.
Subject: | pod.patch |
diff --git a/lib/Imager/Draw.pod b/lib/Imager/Draw.pod
index 7370271..4f3a7da 100644
--- a/lib/Imager/Draw.pod
+++ b/lib/Imager/Draw.pod
@@ -927,7 +927,7 @@ As of Imager 0.61 this can be C<16bit> only for 16 bit images.
=item *
channels - a reference to an array of channels to return, where 0 is
-the first channel. Default: C< [ 0 .. $self->getchannels()-1 ] >
+the first channel. Default: C<< [ 0 .. $self->getchannels()-1 ] >>
=item *
@@ -1013,7 +1013,7 @@ As of Imager 0.61 this can only be C<16bit> only for 16 bit images.
=item *
channels - a reference to an array of channels to return, where 0 is
-the first channel. Default: C< [ 0 .. $self->getchannels()-1 ] >
+the first channel. Default: C<< [ 0 .. $self->getchannels()-1 ] >>
=item *
diff --git a/lib/Imager/Font.pm b/lib/Imager/Font.pm
index 4573653..16b7222 100644
--- a/lib/Imager/Font.pm
+++ b/lib/Imager/Font.pm
@@ -412,7 +412,7 @@ file containing more than one face, for example, from a Macintosh font
suitcase or a .dfont file.
If any of the C<color>, C<size> or C<aa> parameters are omitted when
-calling C<Imager::Font->new()> the they take the following values:
+calling C<< Imager::Font->new() >> the they take the following values:
color => Imager::Color->new(255, 0, 0, 0); # this default should be changed
size => 15
diff --git a/lib/Imager/Transformations.pod b/lib/Imager/Transformations.pod
index 5135b33..ac0ef98 100644
--- a/lib/Imager/Transformations.pod
+++ b/lib/Imager/Transformations.pod
@@ -570,7 +570,7 @@ If the source image has an alpha channel and the target doesn't, then
the source is treated as if composed onto a black background.
If the source image is color and the target is grayscale, the the
-source is treated as if run through C< convert(preset=>'gray') >.
+source is treated as if run through C<< convert(preset=>'gray') >>.
=item rubthrough