* Add xhtml files to the default prune regexp.

master
joey 2006-08-04 02:35:54 +00:00
parent a5ea63e531
commit d8819689b1
3 changed files with 4 additions and 3 deletions

View 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:]_.:\/+]+$)/,

View 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

3
debian/changelog vendored
View 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