Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Minor bug fixes for whitespace fixes

  • Loading branch information...
commit 92774d7fc502e2ded05ec1df2625c82fb5925d65 1 parent 518bf4d
Chris Nandor pudge authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 Slash.pm
4 Slash.pm
@@ -1245,7 +1245,7 @@ sub stripBadHtml {
1245 1245
1246 1246 $str =~ s/<(?!.*?>)//gs;
1247 1247 $str =~ s/<(.*?)>/approveTag($1)/sge;
1248   - $str =~ s/> </> $1/g;
  1248 + $str =~ s/></> </g;
1249 1249
1250 1250 return $str;
1251 1251 }
@@ -1258,7 +1258,7 @@ sub stripBadHtml {
1258 1258 my($comment, $mwl) = @_;
1259 1259 my($new, $l, $c, $in_tag, $this_tag, $cwl);
1260 1260
1261   - $mwl = $mwl || 80;
  1261 + $mwl = $mwl || 65;
1262 1262 $l = length($comment);
1263 1263
1264 1264 %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.
Something went wrong with that request. Please try again.