aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2018-04-08 14:28:21 -0400
committerAlec Warner <antarus@gentoo.org>2018-04-08 14:28:21 -0400
commitea59804e39105fc96363cd3fceb1124c43dc54d7 (patch)
treef786617fd686c86edaae9c5eb2ad08efc2123d7f
parentDon't repeat the first line. (diff)
downloadpackages-ea59804e39105fc96363cd3fceb1124c43dc54d7.tar.gz
packages-ea59804e39105fc96363cd3fceb1124c43dc54d7.tar.bz2
packages-ea59804e39105fc96363cd3fceb1124c43dc54d7.zip
Join the annotated lines into a string.v6.0.12
-rw-r--r--app/views/packages/_changelog_entry.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/packages/_changelog_entry.html.erb b/app/views/packages/_changelog_entry.html.erb
index 7a7e66d..0a3b940 100644
--- a/app/views/packages/_changelog_entry.html.erb
+++ b/app/views/packages/_changelog_entry.html.erb
@@ -1,7 +1,7 @@
<li class="list-group-item">
<strong><%= annotate_bugs changelog[:message].lines.first %></strong>
<br>
- <%= changelog[:message].lines[1..-1].map {|line| annotate_bugs line} %>
+ <%= changelog[:message].lines[1..-1].map {|line| annotate_bugs line}.join %>
<br>
<div class="kk-byline">
<%= mail_to changelog[:email], changelog[:author] %>,