Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

doc fix

  • Loading branch information...
commit 74b5040ca0f2b5ccb80aad67c24ef97a3b7dc05c 1 parent a975cda
@kazuho authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/String/Filter.pm
View
4 lib/String/Filter.pm
@@ -102,7 +102,7 @@ String::Filter - a regexp-based string filter
'%s<a href="http://twitter.com/search?q=%s">%s</a>',
encode_entities($prefix),
encode_entities(uri_escape($hashtag)),
- $hashtag,
+ encode_entities($hashtag),
);
},
],
@@ -141,7 +141,7 @@ Converts the input string using the given rules and returns it.
adds a conversion rule. For each substring matching the regular expression the subref will be invoked with the substring as the only argument. The subref should return the filtered output of the substring.
-=head3 default_rule([$subref])
+=head2 default_rule([$subref])
setter / getter for the default conversion function. The subref should accept a string and return the filtered output of the input.
Please sign in to comment.
Something went wrong with that request. Please try again.