diff --git a/epg2html.pl b/epg2html.pl
index 06d76b74..215eb735 100755
--- a/epg2html.pl
+++ b/epg2html.pl
@@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: epg2html.pl 1.1 2000/11/26 15:23:39 kls Exp $
+# $Id: epg2html.pl 1.2 2000/12/01 18:37:46 kls Exp $
@Index = ();
@@ -39,9 +39,10 @@ while (<>) {
chomp;
if (/^C ([^ ]+) *(.*)/) {
my $Channel = $2;
- (my $Page = $Channel) =~ s/ /_/g;
+ (my $Page = $Channel) =~ y/\/ /-_/;
+ $Page .= ".htm";
$Channel = Tags($Channel);
- push(@Index, qq{$Channel
\n});
+ push(@Index, qq{$Channel
\n});
my %Events = ();
while (<>) {
if (/^E (.*) (.*) (.*)/) {
@@ -75,7 +76,7 @@ while (<>) {
push(@Schedule, "