Skip to content

Commit

Permalink
image.pl: It is already quoted, no need to quote it again.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDaniel committed Jan 25, 2015
1 parent 58e297b commit 3c5373f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/image.pl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ sub ImageSupportRule {
my $valRegex = qr/(([0-9.]+[a-z]*%?)\s+)/;
if ($_ =~ /^\s*(([a-zA-Z ]+)\/)?$valRegex$valRegex$valRegex$valRegex(.*)$/) { # can't use {4} here? :(
my $commentClass = $2 ? "imagecomment $2" : 'imagecomment';
$result .= $q->div({-class=>$commentClass, -style=>"position: absolute; top: $6; left: $4; width: $8; height: $10"}, QuoteHtml($11));
$result .= $q->div({-class=>$commentClass, -style=>"position: absolute; top: $6; left: $4; width: $8; height: $10"}, $11);
}
}
$result = CloseHtmlEnvironments() . $q->div({-class=>"imageholder", -style=>"position: relative"}, $result);
Expand Down

0 comments on commit 3c5373f

Please sign in to comment.