
<a class="nav-link" href="<%= item.href %>">

  <span class="media search-suggestion-im">
    <div  class="mr-2">
      <img class="suggestion-item-image profile-img" title="<%= item.sender_name %>" src="<%= item.image_src %>" class="media-object profile-img">
    </div>
    <div class="media-body">
      <%
      var title;
      if ("title" in item.highlight)
      title = item.highlight.title;
      else
      title = _.escape(item.title);
      %>
      <%= title %>

      <%
      var contents;
      if ("contents" in item.highlight)
      contents = item.highlight.contents;
      else
      contents = _.escape(item.contents);
      %>
      <small class="text-muted"><%= contents %></small>
    </div>
  </span>
</a>
