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 | |
parent | 3c4010bb7525dc6497d38584692b8085d0f4fcad (diff) | |
download | vdr-1c11b7261942ebee1e4fd28397cc44beea4c8d7c.tar.gz vdr-1c11b7261942ebee1e4fd28397cc44beea4c8d7c.tar.bz2 |
The epg2html.pl script now handles '|' in description texts
-rw-r--r-- | HISTORY | 3 | ||||
-rwxr-xr-x | epg2html.pl | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -2746,7 +2746,7 @@ Video Disk Recorder Revision History - Now explicitly turning on the LNB power at startup, because newer drivers don't do this any more (thanks to Oliver Endriss for pointing this out). -2004-03-26: Version 1.3.7 +2004-03-28: Version 1.3.7 - Fixed a memory leak in thread handling when using NPTL (thanks to Jon Burgess). - Fixed handling Setup.RecordDolbyDigital, which was broken since version 1.1.6. @@ -2758,3 +2758,4 @@ Video Disk Recorder Revision History Pekka Virtanen). - Moved several menu item classes from menu.c to menuitems.[hc] to make them available for plugins. +- The epg2html.pl script now handles '|' in description texts. 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)]; |