]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/meta.pm
fix handling of influences of pagespecs that fail to match
[ikiwiki.git] / IkiWiki / Plugin / meta.pm
index 9b041a748c35590820f89f17a65b6e183dbcf59c..da3e6223311e1f6a3a4808409fb2a93af2d38e63 100644 (file)
@@ -291,7 +291,7 @@ sub match {
 
        if (defined $val) {
                if ($val=~/^$re$/i) {
-                       return IkiWiki::SuccessReason->new("$re matches $field of $page");
+                       return IkiWiki::SuccessReason->new("$re matches $field of $page", $page => $IkiWiki::DEPEND_CONTENT);
                }
                else {
                        return IkiWiki::FailReason->new("$re does not match $field of $page");
@@ -305,7 +305,7 @@ sub match {
 package IkiWiki::PageSpec;
 
 sub match_title ($$;@) {
-       IkiWiki::Plugin::meta::match("title", @_);      
+       IkiWiki::Plugin::meta::match("title", @_);
 }
 
 sub match_author ($$;@) {