diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-03-28 11:16:17 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-03-28 11:16:17 +0200 |
commit | 1c11b7261942ebee1e4fd28397cc44beea4c8d7c (patch) | |
tree | 5b6851c50973f86e136bf553cadc55e43061e865 /epg2html.pl | |
parent | 3c4010bb7525dc6497d38584692b8085d0f4fcad (diff) | |
download | vdr-1c11b7261942ebee1e4fd28397cc44beea4c8d7c.tar.gz vdr-1c11b7261942ebee1e4fd28397cc44beea4c8d7c.tar.bz2 |
The epg2html.pl script now handles '|' in description texts
Diffstat (limited to 'epg2html.pl')
-rwxr-xr-x | epg2html.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epg2html.pl b/epg2html.pl index c6e6f9cf..6b258466 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.5 2004/02/22 13:18:27 kls Exp $ +# $Id: epg2html.pl 1.6 2004/03/28 11:15:01 kls Exp $ @Index = (); @@ -51,7 +51,7 @@ while (<>) { while (<>) { if (/^T (.*)/) { $Title = Tags($1); } elsif (/^S (.*)/) { $Subtitle = Tags($1); } - elsif (/^D (.*)/) { $Description = Tags($1); } + elsif (/^D (.*)/) { $Description = Tags($1); $Description =~ s/\|/<br>/g; } elsif (/^V (.*)/) { $Vps = $1; } elsif (/^e/) { $Events{$Time} = [($Duration, $Title, $Subtitle, $Description, $Vps)]; |