Skip to content

Commit

Permalink
FIXUP to travel advice view
Browse files Browse the repository at this point in the history
  • Loading branch information
brucebolt committed May 24, 2021
1 parent d53b94c commit 6ad033a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/views/content_items/travel_advice.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
heading_level: 2
} %>
</div>
<%= t("travel_advice.coronavirus_warning.content") %>
<%= sanitize(t("travel_advice.coronavirus_warning.content")) %>
</div>
</div>

Expand Down
16 changes: 8 additions & 8 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -428,17 +428,17 @@ en:
context: Foreign travel advice
coronavirus_warning:
content: |
<p class=\"govuk-body\">
Follow current COVID-19 rules where you live: <a href=\"/guidance/covid-19-coronavirus-restrictions-what-you-can-and-cannot-do\">England</a>, <a href=\"https://www.gov.scot/coronavirus-covid-19/\">Scotland</a>, <a href=\"https://gov.wales/covid-19-alert-levels\">Wales</a> and <a href=\"https://www.nidirect.gov.uk/articles/coronavirus-covid-19-regulations-guidance-what-restrictions-mean-you\">Northern Ireland</a>.
<p class="govuk-body">
Follow current COVID-19 rules where you live: <a href="/guidance/covid-19-coronavirus-restrictions-what-you-can-and-cannot-do">England</a>, <a href="https://www.gov.scot/coronavirus-covid-19/">Scotland</a>, <a href="https://gov.wales/covid-19-alert-levels">Wales</a> and <a href="https://www.nidirect.gov.uk/articles/coronavirus-covid-19-regulations-guidance-what-restrictions-mean-you">Northern Ireland</a>.
</p>
<p class=\"govuk-body\">
To prevent new COVID variants from entering the UK, you should not travel to <a href=\"/guidance/red-amber-and-green-list-rules-for-entering-england\">amber or red list countries</a>.
<p class="govuk-body">
To prevent new COVID variants from entering the UK, you should not travel to <a href="/guidance/red-amber-and-green-list-rules-for-entering-england">amber or red list countries</a>.
</p>
<p class=\"govuk-body\">
To understand the risks in a country follow <a href=\"/guidance/travel-advice-novel-coronavirus\">FCDO Travel Advice</a>.
<p class="govuk-body">
To understand the risks in a country follow <a href="/guidance/travel-advice-novel-coronavirus">FCDO Travel Advice</a>.
</p>
<p class=\"govuk-body\">
When you return, follow the rules to <a href=\"/uk-border-control\">enter the UK from abroad</a> (except from Ireland).
<p class="govuk-body">
When you return, follow the rules to <a href="/uk-border-control">enter the UK from abroad</a> (except from Ireland).
</p>
text_assistive: Important
title: Coronavirus (COVID-19) travel
Expand Down

0 comments on commit 6ad033a

Please sign in to comment.