<p>In app/views/diary_entry/_diary_entry.html.erb:</p>
<pre style='color:#555'>> <%= link_to t('diary_entry.diary_entry.comment_count', :count => diary_entry.visible_comments.count), :action => 'view', :display_name => diary_entry.user.display_name, :id => diary_entry.id, :anchor => 'comments' %>
> <% end %>
> +
> <%= if_user(diary_entry.user, :span) do %>
> | <%= link_to t('diary_entry.diary_entry.edit_link'), :action => 'edit', :display_name => diary_entry.user.display_name, :id => diary_entry.id %>
</pre>
<p>The <code>|</code> here winds up isolated when viewing a single diary entry because nothing has been printed before it.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
—<br>
Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/pull/68/files#r1387862'>view it on GitHub</a>.
</p>
<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOpmLWAu4oQih75mggZl1E8_mSVJVtFn_C_8cZJiIhptKK.gif' height='1' width='1'>