Skip to content

Commit

Permalink
r4830@dhcp-217: plu | 2008-07-24 18:50:43 +0200
Browse files Browse the repository at this point in the history
 Fix highlight causing layout being broken (just replace <div..> by <span..>)
  • Loading branch information
plu committed Jul 24, 2008
1 parent 3a11926 commit 4cf4010
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- Fix highlight causing layout being broken (plu)

0.999019 2008-07-19 19:45:00
- Support for re-requesting validation mails.
- Fix for TT syntax error.
Expand Down
4 changes: 2 additions & 2 deletions lib/MojoMojo/Schema/Content.pm
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ __PACKAGE__->belongs_to("creator", "Person", { id => "creator" });
for my $line (@diff) {
$hi++;
if ( $$line[0] eq "+" ) {
$diff .= qq(<div id="hi$hi" class="fade">) . $$line[2] . "</div>";
$diff .= qq(<span id="hi$hi" class="fade">) . $$line[2] . "</span>";
}
elsif ( $$line[0] eq "c" ) {
$diff .= qq(<div id="hi$hi"class="fade">) . $$line[2] . "</div>";
$diff .= qq(<span id="hi$hi"class="fade">) . $$line[2] . "</span>";
} elsif ( $$line[0] eq "-" ) { }
else { $diff .= $$line[1] }
}
Expand Down

0 comments on commit 4cf4010

Please sign in to comment.