From: Frédéric Buclin Date: Fri, 23 Jan 2015 11:09:57 +0000 (+0100) Subject: Bug 616197: Wrap long bug summaries in dependency graphs, to avoid horizontal scrolling X-Git-Tag: release-5.1.1~381 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2993c6a385fb179ba09377b159384e48486c3f7f;p=thirdparty%2Fbugzilla.git Bug 616197: Wrap long bug summaries in dependency graphs, to avoid horizontal scrolling r=gerv a=glob --- diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index d93c1c875d..129964e99b 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"}); }