Export script now kills recent changes link in navigation bar.

Originally committed to SVN as r1732.
This commit is contained in:
Karl Blomster 2008-01-15 05:09:18 +00:00
parent 117aa22e8d
commit 3b10cbd3c8

View file

@ -253,6 +253,9 @@ sub parse_and_fix_html {
# kill the "toolbox" at the bottom left # kill the "toolbox" at the bottom left
$content =~ s!<div class=\"portlet\" id=\"p-tb\".*?(<\!-- end of the left)!$1!s; $content =~ s!<div class=\"portlet\" id=\"p-tb\".*?(<\!-- end of the left)!$1!s;
# kill "recent changes"
$content =~ s!<li id=\"n-recentchanges\">.*?</li>!!;
# handle the @import links to get the css right # handle the @import links to get the css right
while ( $content =~ m!\@import \"(.+?)\";!mg ) { while ( $content =~ m!\@import \"(.+?)\";!mg ) {
my $importlink = $1; my $importlink = $1;