]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Add xhtml files to the default prune regexp.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 4 Aug 2006 02:35:54 +0000 (02:35 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 4 Aug 2006 02:35:54 +0000 (02:35 +0000)
IkiWiki.pm
IkiWiki/Plugin/html.pm
debian/changelog

index a732be99956bda3c0539c5a6c1e9650ccc595376..5bb8ea1c9a45d21925a1e72b4a65a38b92ca8e4f 100644 (file)
@@ -16,7 +16,7 @@ use vars qw{%config %links %oldlinks %oldpagemtime %pagectime
             %renderedfiles %pagesources %depends %hooks %forcerebuild};
 
 sub defaultconfig () { #{{{
-       wiki_file_prune_regexp => qr{((^|/).svn/|\.\.|^\.|\/\.|\.html?$|\.rss$)},
+       wiki_file_prune_regexp => qr{((^|/).svn/|\.\.|^\.|\/\.|\.x?html?$|\.rss$)},
        wiki_link_regexp => qr/\[\[(?:([^\]\|]+)\|)?([^\s\]]+)\]\]/,
        wiki_processor_regexp => qr/\[\[(\w+)\s+([^\]]*)\]\]/,
        wiki_file_regexp => qr/(^[-[:alnum:]_.:\/+]+$)/,
index 6bf813292e1566a6dc6c03c14818685dd3bc473b..cf3d4506ebd8837b3c33af4832b6b69d7b1a58bc 100644 (file)
@@ -12,7 +12,7 @@ sub import { #{{{
 
        # ikiwiki defaults to skipping .html files as a security measure;
        # make it process them so this plugin can take effect
-       $IkiWiki::config{wiki_file_prune_regexp} =~ s/\|\\\.html\?\$//;
+       $IkiWiki::config{wiki_file_prune_regexp} =~ s/\|\\\.x?html\?\$//;
 } # }}}
 
 1
index 7721dd374ef1dcceb310fba722aa484c511b5cab..02638688e1cc1846dde7749e4963f21e760afe06 100644 (file)
@@ -9,8 +9,9 @@ ikiwiki (1.16) UNRELEASED; urgency=low
     and blog pages.
   * Various CSS and formatting changes.
   * Encode link and guid urls in rss feeds to avoid illegal utf8 slipping in.
+  * Add xhtml files to the default prune regexp.
 
- -- Joey Hess <joeyh@debian.org>  Thu,  3 Aug 2006 21:36:09 -0400
+ -- Joey Hess <joeyh@debian.org>  Thu,  3 Aug 2006 22:35:11 -0400
 
 ikiwiki (1.15) unstable; urgency=low