diff --git a/app/helpers/orchid/display_helper.rb b/app/helpers/orchid/display_helper.rb index 4c93810d..c90d05d5 100644 --- a/app/helpers/orchid/display_helper.rb +++ b/app/helpers/orchid/display_helper.rb @@ -22,7 +22,7 @@ def metadata(res, label, api_field, link: true, separator: " | ") end end html << dataArray - .map { |i| "#{i}" } + .map { |i| "
#{i}
" } .join(separator) sanitize html @@ -56,7 +56,7 @@ def metadata_get_field_values(res, api_field) # or could be used by overriding applications if desired def metadata_label(label, length: nil) # TODO add pluralization that uses locale - "#{label}: " + "
#{label}:
" end end diff --git a/app/views/items/_search_res_items.html.erb b/app/views/items/_search_res_items.html.erb index 37a572bc..80bc7f3f 100644 --- a/app/views/items/_search_res_items.html.erb +++ b/app/views/items/_search_res_items.html.erb @@ -4,35 +4,27 @@

<%= search_item_link(item) %>

search_results_info"> - +
<% if item["highlight"].present? %>
diff --git a/app/views/items/_show_metadata.html.erb b/app/views/items/_show_metadata.html.erb index 821feda3..8217ccc9 100644 --- a/app/views/items/_show_metadata.html.erb +++ b/app/views/items/_show_metadata.html.erb @@ -1,59 +1,44 @@