--- trunk/html/swish.cgi 2003/06/01 12:13:36 41
+++ trunk/html/swish.cgi 2004/01/25 16:49:50 57
@@ -152,6 +152,15 @@
$hit_fmt = x($config->{hit}) if (x($config->{hit}));
}
+ sub kill_html {
+ my @out;
+ foreach (@_) {
+ s/<[^>]+>//g;
+ push @out,$_;
+ }
+ return @out;
+ }
+
my $sh = SWISH->connect('Fork',
prog => x($config->{prog}),
indexes => x($config->{index}),