Permalink
Browse files

Minor bug fixes for whitespace fixes

  • Loading branch information...
pudge committed Nov 27, 2000
1 parent 518bf4d commit 92774d7fc502e2ded05ec1df2625c82fb5925d65
Showing with 2 additions and 2 deletions.
  1. +2 −2 Slash.pm
View
@@ -1245,7 +1245,7 @@ sub stripBadHtml {
$str =~ s/<(?!.*?>)//gs;
$str =~ s/<(.*?)>/approveTag($1)/sge;
- $str =~ s/> </> $1/g;
+ $str =~ s/></> </g;
return $str;
}
@@ -1258,7 +1258,7 @@ sub stripBadHtml {
my($comment, $mwl) = @_;
my($new, $l, $c, $in_tag, $this_tag, $cwl);
- $mwl = $mwl || 80;
+ $mwl = $mwl || 65;
$l = length($comment);
%is_break_tag = map { uc, 1 } qw(HR BR LI P OL UL BLOCKQUOTE DIV)

0 comments on commit 92774d7

Please sign in to comment.