HTML::Zoom::FilterBuilder: =head2 sections should not contain args
Jakub Narebski [Mon, 24 Jan 2011 12:44:31 +0000 (13:44 +0100)]
The reason for this is being able to link to <manpage>#set_attribute
via L</set_attribute> or L<HTML::Zoom::FilterBuilder/set_attribute>.

Requested-by: Matt S Trout <mst@shadowcat.co.uk>

lib/HTML/Zoom/FilterBuilder.pm

index 50398b3..16169f0 100644 (file)
@@ -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</set_attribute>
 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.