Skip to content

Commit 05adef7

Browse files
committed
Allow the masthead heading to contain html
In virtual-tribunals, we found that the text was wrapping at inopportune spots and we want to use a non-breaking space in it. This means we need the html to come through without being escaped.
1 parent 7ef7824 commit 05adef7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: app/components/arclight/masthead_component.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Arclight
44
# Render the masthead
55
class MastheadComponent < Blacklight::Component
66
def heading
7-
t('arclight.masthead_heading')
7+
t('arclight.masthead_heading_html')
88
end
99
end
1010
end

Diff for: config/locales/arclight.en.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ en:
1111
total_components: Total components
1212
hierarchy:
1313
view_all: View
14-
masthead_heading: Archival Collections at Institution
14+
masthead_heading_html: Archival Collections at Institution
1515
repositories: Repositories
1616
request:
1717
container: Request

0 commit comments

Comments
 (0)