summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-07-03 15:22:24 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-07-03 15:22:24 +0800
commit34e6536caf900ca1ee54d72dedb00fd2eb56bf89 (patch)
tree74db86569cb917379259b542b8b0ce9bb7a3a4e8
parent0968ab809af2e54a46f7ea1be01073ee82ec96e7 (diff)
downloadpttbbs-34e6536caf900ca1ee54d72dedb00fd2eb56bf89.tar
pttbbs-34e6536caf900ca1ee54d72dedb00fd2eb56bf89.tar.gz
pttbbs-34e6536caf900ca1ee54d72dedb00fd2eb56bf89.tar.bz2
pttbbs-34e6536caf900ca1ee54d72dedb00fd2eb56bf89.tar.lz
pttbbs-34e6536caf900ca1ee54d72dedb00fd2eb56bf89.tar.xz
pttbbs-34e6536caf900ca1ee54d72dedb00fd2eb56bf89.tar.zst
pttbbs-34e6536caf900ca1ee54d72dedb00fd2eb56bf89.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1006 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rwxr-xr-xstaticweb/manbuilder.pl9
1 files changed, 1 insertions, 8 deletions
diff --git a/staticweb/manbuilder.pl b/staticweb/manbuilder.pl
index 872506f2..1e9e95d7 100755
--- a/staticweb/manbuilder.pl
+++ b/staticweb/manbuilder.pl
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-# $Id: manbuilder.pl,v 1.3 2003/07/03 06:57:35 in2 Exp $
+# $Id: manbuilder.pl,v 1.4 2003/07/03 07:22:24 in2 Exp $
use lib '/home/bbs/bin/';
use strict;
use OurNet::FuzzyIndex;
@@ -46,13 +46,6 @@ sub build($$)
push @tdir, ["$doffset/$fn", $bfh{"$_.title"}];
my $c = $bfh{"$_.content"};
$idx->insert("$doffset/$fn", $c);
-
- $c =~ s/\</&lt;/gs;
- $c =~ s/\>/&gt;/gs;
- $c =~ s/\"/&quot;/gs;
- $c =~ s/\'/&apos;/gs;
- $c =~ s/ /&nbsp;/gs;
- $c =~ s/\n/<br \/>\n/gs;
$db{"$doffset/$fn"} = $c;
}
}