summaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-01-23 07:00:54 +0100
committerByron Jones <glob@mozilla.com>2015-01-23 07:00:54 +0100
commitd7a8c55615daffeea41e81ffb04201f944e6b408 (patch)
tree6448dd405981120d4ada5bf97c10f4eb45a2d0be /showdependencygraph.cgi
parent81b2c31a192082fd09787f8cf08ba5ef2236abfb (diff)
downloadbugzilla-d7a8c55615daffeea41e81ffb04201f944e6b408.tar.gz
bugzilla-d7a8c55615daffeea41e81ffb04201f944e6b408.tar.xz
Bug 616197: Wrap long bug summaries in dependency graphs, to avoid horizontal scrolling
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-xshowdependencygraph.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi
index 28b113460..ed657dc12 100755
--- a/showdependencygraph.cgi
+++ b/showdependencygraph.cgi
@@ -204,6 +204,7 @@ foreach my $k (keys(%seen)) {
if (Bugzilla->params->{'utf8'}) {
utf8::encode($summary) if utf8::is_utf8($summary);
}
+ $summary = wrap_comment($summary);
$summary =~ s/([\\\"])/\\$1/g;
push(@params, qq{label="$k\\n$summary"});
}