app/builders/spotlight/bootstrap_breadcrumbs_builder.rb in blacklight-spotlight-3.0.0.rc2 vs app/builders/spotlight/bootstrap_breadcrumbs_builder.rb in blacklight-spotlight-3.0.0.rc3
- old
+ new
@@ -29,10 +29,9 @@
end
private
def element_label(element)
- label = compute_name(element)
- @context.truncate(label, escape: !label.html_safe?, length: 30, separator: ' ')
+ @context.content_tag(:span, class: 'truncated-value') { compute_name(element) }
end
end
end