Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor bug fixes for whitespace fixes

  • Loading branch information...
commit 92774d7fc502e2ded05ec1df2625c82fb5925d65 1 parent 518bf4d
@pudge pudge authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Slash.pm
View
4 Slash.pm
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.