Commit 2993c6a3 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 616197: Wrap long bug summaries in dependency graphs, to avoid horizontal scrolling

r=gerv a=glob
parent db8c5141
...@@ -194,6 +194,7 @@ foreach my $k (@bug_ids) { ...@@ -194,6 +194,7 @@ foreach my $k (@bug_ids) {
if (Bugzilla->params->{'utf8'}) { if (Bugzilla->params->{'utf8'}) {
utf8::encode($summary) if utf8::is_utf8($summary); utf8::encode($summary) if utf8::is_utf8($summary);
} }
$summary = wrap_comment($summary);
$summary =~ s/([\\\"])/\\$1/g; $summary =~ s/([\\\"])/\\$1/g;
push(@params, qq{label="$k\\n$summary"}); push(@params, qq{label="$k\\n$summary"});
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment