Skip to content

Commit

Permalink
Fix a bug I put into breakHtml() before leaving on vacation (oops :).
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiemccarthy committed Jun 28, 2002
1 parent 8b4cbe0 commit ecca5ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Slash/Utility/Data/Data.pm
Expand Up @@ -818,7 +818,7 @@ sub breakHtml {
\s*
(</?$break_tag>)
\s*
}{ <$1> }gsx;
}{ $1 }gsx;
#print STDERR "text 3 '$text'\n";

# Temporarily hide whitespace inside tags so that the regex below
Expand Down
2 changes: 1 addition & 1 deletion utils/createTestComments
Expand Up @@ -132,7 +132,7 @@ $werder = new Silly::Werder;
$num_werds += 200 if rand(1) < 0.1;
$num_werds += 300 if rand(1) < 0.1;
my $comment = make_werds($num_werds, 0.1);
$comment = strip_mode($comment, 2); # HTML mode
$comment = strip_html($comment); # HTML mode
$comment = balanceTags($comment, $constants->{nesting_maxdepth});
$comment = addDomainTags($comment);

Expand Down

0 comments on commit ecca5ee

Please sign in to comment.