Bug 53608

more filtering


git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@348 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2009-08-31 18:47:16 +00:00
parent adb20849f8
commit fb9fbb7f00
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
#!/usr/bin/perl -wT
use strict;
for (${Bugzilla->hook_args->{body}})
{
s/<a[^<>]*>.*?<\/a\s*>/custis_rmlf($&)/geso;
}
sub custis_rmlf
{
my ($t) = @_;
$t =~ s/[\n\r]+/ /giso;
return $t;
}