diff --git a/app/views/taxa/_amphibiaweb.html.erb b/app/views/taxa/_amphibiaweb.html.erb index 72a6ac133c8..dc427514604 100644 --- a/app/views/taxa/_amphibiaweb.html.erb +++ b/app/views/taxa/_amphibiaweb.html.erb @@ -16,7 +16,7 @@ <% end %> <% end %> <%- content = @xml.at('lannoo').try(:inner_text) if content.strip.blank? -%> - <% if content.strip.blank? -%> + <% if content.to_s.strip.blank? -%>

AmphibiaWeb doesn't have any information about this species. <%= link_to_function "Try Wikipedia?", "tryWikipedia()", 'data-loading-click' => true %>