diff --git a/app/assets/stylesheets/theme_ursus/components/_ur-metadata-block.scss b/app/assets/stylesheets/theme_ursus/components/_ur-metadata-block.scss index a57367ad5..d6efeaed7 100644 --- a/app/assets/stylesheets/theme_ursus/components/_ur-metadata-block.scss +++ b/app/assets/stylesheets/theme_ursus/components/_ur-metadata-block.scss @@ -1,5 +1,6 @@ .metadata-block__label-value, -.metadata-block__label-value--ursus { +.metadata-block__label-value--ursus, +.metadata-block__group { a { text-decoration: none; color: $ucla-darker-blue; diff --git a/app/helpers/ursus/catalog_helper.rb b/app/helpers/ursus/catalog_helper.rb index f1c50b5e3..8bd1e3c79 100644 --- a/app/helpers/ursus/catalog_helper.rb +++ b/app/helpers/ursus/catalog_helper.rb @@ -33,5 +33,13 @@ def render_truncated_description(args) return description end end + + # Parse links in the string and return html_safe result + # + # @param [String] string + # @return [ActiveSupport::SafeBuffer] + def autolink_string(string) + auto_link(string).html_safe # rubocop:disable Rails/OutputSafety + end end end diff --git a/app/views/catalog/collection_record/_about_collection_metadata.html.erb b/app/views/catalog/collection_record/_about_collection_metadata.html.erb index 9986ccebb..82ccc420d 100644 --- a/app/views/catalog/collection_record/_about_collection_metadata.html.erb +++ b/app/views/catalog/collection_record/_about_collection_metadata.html.erb @@ -2,7 +2,7 @@

About this Collection

- <%= document[:summary_tesim][0] %> + <%= autolink_string document[:summary_tesim][0] %>