Skip to content

Commit

Permalink
Remove trailing slash on some <br> elements
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Feb 8, 2024
1 parent 9d93286 commit 1df1880
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/nationalarchives/analytics.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ analytics.addListener(document.documentElement, "doc", [
},
},
]);

analytics.addListener(document.getElementById("tna-form__search"), "search", [
{
eventName: "search_term_blur",
Expand Down
2 changes: 1 addition & 1 deletion src/nationalarchives/components/footer/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</svg>
<h2 class="tna-heading-m tna-footer__title">The National Archives</h2>
<address class="tna-footer__address">
Kew, Richmond<br />
Kew, Richmond<br>
TW9 4DU
</address>
{%- if params.meta -%}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ const Template = ({ theme, accent }) => {
</main>
${Footer({
params: {
meta: "<p>Open today<br />09:00&mdash;19:00</p>",
meta: "<p>Open today<br>09:00&mdash;19:00</p>",
social: [
{
text: "Twitter",
Expand Down

0 comments on commit 1df1880

Please sign in to comment.