freebsd-ports/chinese/chm2html/files/patch-hhc2html.pl
Vanilla I. Shu 4116bb7efb Add chm2html 0.1a, cHM Tools package.
PR:		58082
Submitted by:	Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
2003-11-13 04:59:49 +00:00

11 lines
393 B
Perl

--- hhc2html.pl.orig Thu May 8 13:05:31 2003
+++ hhc2html.pl Thu May 8 13:05:39 2003
@@ -40,7 +40,7 @@
$name="";
$local="";
OBJECT: while(<>){
- last OBJECT if /<\/object>/i && print "<a href=$local>$name</a></dev>";
+ last OBJECT if /<\/object>/i && print "<a href=$local>$name</a></div>";
if( /(.*)($param)(.*)/i ){
$pre=$1; $_=$2; $post=$3;
print $pre,$post;