app/helpers/spotlight/title_helper.rb in blacklight-spotlight-0.19.0 vs app/helpers/spotlight/title_helper.rb in blacklight-spotlight-0.19.1
- old
+ new
@@ -15,10 +15,10 @@
content_tag(:h1, safe_join([section, content_tag(:small, title || t(:'.header'))], "\n"), class: 'page-header')
end
# rubocop:disable Style/AccessorMethodName
def set_html_page_title(title = nil)
- @page_title = strip_tags(t(:'spotlight.html_title', title: title || t(:'.title', default: :'.header'), application_name: application_name))
+ @page_title = strip_tags(t(:'spotlight.html_title', title: title || t(:'.title', default: :'.header'), application_name: application_name)).html_safe
end
# rubocop:enable Style/AccessorMethodName
end
end