summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-01-23 12:09:57 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2015-01-23 12:09:57 +0100
commit2993c6a385fb179ba09377b159384e48486c3f7f (patch)
treeef4969b16bc878ef2230bcd2b1ed453bfc52da43
parentdb8c5141a90a910dca5600ba094b6f7d04b749bf (diff)
downloadbugzilla-2993c6a385fb179ba09377b159384e48486c3f7f.tar.gz
bugzilla-2993c6a385fb179ba09377b159384e48486c3f7f.tar.xz
Bug 616197: Wrap long bug summaries in dependency graphs, to avoid horizontal scrolling
r=gerv a=glob
-rwxr-xr-xshowdependencygraph.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi
index d93c1c875..129964e99 100755
--- a/showdependencygraph.cgi
+++ b/showdependencygraph.cgi
@@ -194,6 +194,7 @@ foreach my $k (@bug_ids) {
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"});
}