Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Prevent unwanted space after queue log PR links
Browse files Browse the repository at this point in the history
Right now the spaces in between PR links in the log are also links, because there's extra whitespace in the `a` tag here. If we remove that extra whitespace in the `a` tag, then we should still have a space between links because of the indentation before the `a` tag giving us our needed whitespace, but it won't be inside the `a` tag so it won't be part of the link.
  • Loading branch information
adzenith committed Jul 26, 2018
1 parent b365feb commit 3fc3d47
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/web/templates/project/log.html.eex
Expand Up @@ -36,9 +36,7 @@
<td><%= stringify_state(state) %></td>
<td>
<%= for patch <- patches do %>
<a href="<%= Confex.fetch_env!(:bors, :html_github_root) %>/<%= @project.name %>/pull/<%= patch.pr_xref %>">
#<%= patch.pr_xref %>
</a>
<a href="<%= Confex.fetch_env!(:bors, :html_github_root) %>/<%= @project.name %>/pull/<%= patch.pr_xref %>">#<%= patch.pr_xref %></a>
<% end %>
</td>
</tr>
Expand Down

0 comments on commit 3fc3d47

Please sign in to comment.