aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2018-04-08 14:54:46 -0400
committerAlec Warner <antarus@gentoo.org>2018-04-08 14:54:46 -0400
commit593c0e9fcf8e0433e965050b129c437f0b495483 (patch)
tree978ef838ff389e6721133d8320250903b1d74132
parentJoin the annotated lines into a string. (diff)
downloadpackages-593c0e9fcf8e0433e965050b129c437f0b495483.tar.gz
packages-593c0e9fcf8e0433e965050b129c437f0b495483.tar.bz2
packages-593c0e9fcf8e0433e965050b129c437f0b495483.zip
s/join/safe_join/.v6.0.13
-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 0a3b940..3488c3f 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}.join %>
+ <%= changelog[:message].lines[1..-1].map {|line| annotate_bugs line}.safe_join %>
<br>
<div class="kk-byline">
<%= mail_to changelog[:email], changelog[:author] %>,