Skip to content

Commit

Permalink
Update _wikispecies_page.html.erb
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Jul 28, 2024
1 parent 1e922df commit 34d9209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/names/wiki/_wikispecies_page.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Species: <%= @name.name_wiki(no_candidatus: true, link: true) %>
when 'order'
'{{ordo' + last + '|' + name.base_name + '}}'
else
'[[' + name.base_name + ']]' + ('&nbsp;- ' unless last.present?)
'[[' + name.base_name + ']]' + (last.present? ? '&nbsp;- ' : '')
end
%>
<%= wiki_link %>
Expand Down

0 comments on commit 34d9209

Please sign in to comment.