public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alex Legler" <a3li@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/ag-web:master commit in: views/
Date: Mon, 23 Feb 2015 23:55:43 +0000 (UTC)	[thread overview]
Message-ID: <1424735639.14cafac14c4d411591c846a0f8d5914fa9972414.a3li@gentoo> (raw)

commit:     14cafac14c4d411591c846a0f8d5914fa9972414
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Mon Feb 23 23:53:59 2015 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Mon Feb 23 23:53:59 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=14cafac1

Properly escape displaynames

---
 views/listmonth.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/views/listmonth.erb b/views/listmonth.erb
index 76a2244..9f137f0 100644
--- a/views/listmonth.erb
+++ b/views/listmonth.erb
@@ -22,7 +22,7 @@
     <% results['hits']['hits'].each do |message| %>
       <tr>
         <td><a href="../../message/<%= message['_id'] %>"><%= h message['_source']['subject'] %></a></td>
-        <td><%= h message['_source']['from_realname'] %></td>
+        <td><%= h strip_email_headers(message['_source']['from_realname']).first %></td>
         <td><span class="ag-date"><%= date_format message['_source']['date'] %></span></td>
       </tr>
     <% end %>


             reply	other threads:[~2015-02-23 23:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-23 23:55 Alex Legler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-02-26 13:12 [gentoo-commits] proj/ag-web:master commit in: views/ Alex Legler
2015-02-25 21:44 Alex Legler
2015-02-25 21:44 Alex Legler
2015-02-25 10:47 Alex Legler
2015-02-22 11:05 Alex Legler
2015-02-22 11:02 Alex Legler
2015-02-22  4:38 Robin H. Johnson
2015-02-22  0:15 Alex Legler
2015-02-22  0:14 Alex Legler
2015-02-22  0:04 Alex Legler
2015-02-22  0:03 Alex Legler
2015-02-22  0:01 Alex Legler
2015-02-22  0:00 Alex Legler
2015-02-21 23:57 Alex Legler
2015-02-21 23:49 Robin H. Johnson
2015-02-21 23:41 Robin H. Johnson
2015-02-21 23:39 Robin H. Johnson
2015-02-21 23:34 Robin H. Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1424735639.14cafac14c4d411591c846a0f8d5914fa9972414.a3li@gentoo \
    --to=a3li@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox