From d7a8c55615daffeea41e81ffb04201f944e6b408 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Fri, 23 Jan 2015 14:00:54 +0800 Subject: Bug 616197: Wrap long bug summaries in dependency graphs, to avoid horizontal scrolling --- showdependencygraph.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'showdependencygraph.cgi') 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"}); } -- cgit v1.2.3-24-g4f1b