]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/comments.pm
filecheck: Fix bug that prevented the pagespecs from matching when not called by...
[ikiwiki.git] / IkiWiki / Plugin / comments.pm
index bbf850a17f24399a7e1fff86743f1c23d4c7503c..98786f4328412448138f578ae0f04834fec39f98 100644 (file)
@@ -855,14 +855,14 @@ sub unique_comment_location ($$$) {
 
 sub page_to_id ($) {
        # Converts a comment page name into a unique, legal html id
-       # addtibute value, that can be used as an anchor to link to the
+       # attribute value, that can be used as an anchor to link to the
        # comment.
        my $page=shift;
 
        eval q{use Digest::MD5 'md5_hex'};
        error($@) if $@;
 
-       return "comment-".md5_hex(Encode::encode_utf8(($page));
+       return "comment-".md5_hex(Encode::encode_utf8(($page)));
 }
        
 package IkiWiki::PageSpec;