fix encode_data which did not delete all .^H

This commit is contained in:
Wolfram Schneider 2001-09-02 16:17:08 +00:00
parent e1e1b3911f
commit 9b43fdca13
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=10544

View file

@ -33,7 +33,7 @@
# BSDI Id: bsdi-man,v 1.2 1995/01/11 02:30:01 polk Exp
# Dual CGI/Plexus mode and new interface by sanders@bsdi.com 9/22/1995
#
# $Id: man.cgi,v 1.51 2001-09-02 15:33:10 wosch Exp $
# $Id: man.cgi,v 1.52 2001-09-02 16:17:08 wosch Exp $
#use Data::Dumper;
#use Carp;
@ -802,6 +802,8 @@ sub encode_data {
# Now convert our magic chars into our tag markers
#s/\375/\&/g; s/\376/</g; s/\377/>/g;
s,.\010,,g;
$_;
}
@ -907,7 +909,7 @@ ETX
}
sub copyright {
$id = '$Id: man.cgi,v 1.51 2001-09-02 15:33:10 wosch Exp $';
$id = '$Id: man.cgi,v 1.52 2001-09-02 16:17:08 wosch Exp $';
return qq{\
<PRE>