diff options
author | Alex Legler <alex@a3li.li> | 2015-02-24 00:53:59 +0100 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2015-02-24 00:53:59 +0100 |
commit | 14cafac14c4d411591c846a0f8d5914fa9972414 (patch) | |
tree | 7d3ddea273237fde62d4d0eed008a3dd61fea663 /views | |
parent | Better email escaping regex (diff) | |
download | frontend-14cafac14c4d411591c846a0f8d5914fa9972414.tar.gz frontend-14cafac14c4d411591c846a0f8d5914fa9972414.tar.bz2 frontend-14cafac14c4d411591c846a0f8d5914fa9972414.zip |
Properly escape displaynames
Diffstat (limited to 'views')
-rw-r--r-- | views/listmonth.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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 %> |