Browse files

doc fix

  • Loading branch information...
1 parent a975cda commit 74b5040ca0f2b5ccb80aad67c24ef97a3b7dc05c @kazuho committed Sep 23, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/String/
@@ -102,7 +102,7 @@ String::Filter - a regexp-based string filter
'%s<a href="">%s</a>',
- $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.

0 comments on commit 74b5040

Please sign in to comment.