From: Jakub Narebski Date: Mon, 24 Jan 2011 12:44:31 +0000 (+0100) Subject: HTML::Zoom::FilterBuilder: =head2 sections should not contain args X-Git-Tag: release_0.009004~9^2~1^2~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FHTML-Zoom.git;a=commitdiff_plain;h=e225a4bdc7e2ca3d47266b8ec98135f521f727f3 HTML::Zoom::FilterBuilder: =head2 sections should not contain args The reason for this is being able to link to #set_attribute via L or L. Requested-by: Matt S Trout --- diff --git a/lib/HTML/Zoom/FilterBuilder.pm b/lib/HTML/Zoom/FilterBuilder.pm index 50398b3..16169f0 100644 --- a/lib/HTML/Zoom/FilterBuilder.pm +++ b/lib/HTML/Zoom/FilterBuilder.pm @@ -381,7 +381,7 @@ alter the content of that stream. This class defines the following public API -=head2 set_attribute ( $attr=>value | {name=>$attr,value=>$value} ) +=head2 set_attribute Sets an attribute of a given name to a given value for all matching selections. @@ -396,7 +396,7 @@ Overrides existing values, if such exist. When multiple L calls are made against the same or overlapping selection sets, the final call wins. -=head2 add_to_attribute ( $attr=>value | {name=>$attr,value=>$value} ) +=head2 add_to_attribute Adds a value to an existing attribute, or creates one if the attribute does not yet exist. @@ -409,7 +409,7 @@ yet exist. Attributes with more than one value will have a dividing space. -=head2 remove_attribute ( $attr | {name=>$attr} ) +=head2 remove_attribute Removes an attribute and all its values.