Skip to content

Commit

Permalink
Remove abbr tag from contents list link
Browse files Browse the repository at this point in the history
- this page https://www.gov.uk/government/history/1-horse-guards-road calls the contents_list component and passes a series of links including one that includes an abbr (abbreviation) tag to explain the acronym 'GOGGS'
- this acroynm is explained several times already in the text of the page, as well as in the contents list link that immediately precedes this one
- there is no need for this tag inside this link, and this also causes significant complexity for the contents list component, which should not have anything other than text passed to it for the value of the text of a link
  • Loading branch information
andysellick committed Jun 27, 2024
1 parent ce427bb commit ac28280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/histories/1_horse_guards_road.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
{
href: "#the-building-of-goggs",
text: "The building of <abbr title=\"Government Offices Great George Street\">GOGGS<abbr>".html_safe,
text: "The building of GOGGS",
},
{
href: "#the-cabinet-war-rooms",
Expand Down

0 comments on commit ac28280

Please sign in to comment.