Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't unneccesarily self-close tags #1122

Merged
merged 1 commit into from
Jan 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/__canary__.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8">
<meta name="robots" content="noindex">
<title>200 OK</title>
</head>
Expand Down
10 changes: 5 additions & 5 deletions src/patterns/step-by-step-navigation/index.md.njk
Original file line number Diff line number Diff line change
Expand Up @@ -145,17 +145,17 @@ It’s not currently possible to include step by step navigation on confirmation

This pattern is commonly used across GOV.UK. You can see examples of it being used in the following services.

**Driver and Vehicle Standards Agency**<br/>
**Driver and Vehicle Standards Agency**<br>
Learn to drive a car

**Department for Work and Pensions**<br/>
Employ someone<br/>
**Department for Work and Pensions**<br>
Employ someone<br>
What to do when someone dies

**UK Visas and Immigration**<br/>
**UK Visas and Immigration**<br>
Visit the UK on a Standard Visitor visa

**Department for Transport**<br/>
**Department for Transport**<br>
Get a Blue Badge

See a full list of [live services using step by step navigation](https://live-stuff.herokuapp.com/step-by-steps).
Expand Down
6 changes: 3 additions & 3 deletions src/styles/page-template/block-areas/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ stylesheets:
<meta name="robots" content="noindex, nofollow">

<!--[if !IE 8]><!-->
<link href="{{ getFingerprint('stylesheets/main.css') }}" rel="stylesheet" media="all" />
<link href="{{ getFingerprint('stylesheets/main.css') }}" rel="stylesheet" media="all">
<!--<![endif]-->
<!--[if lt IE 9]>
<link href="{{ getFingerprint('stylesheets/main-ie8.css') }}" rel="stylesheet" media="all" />
<link href="{{ getFingerprint('stylesheets/main-ie8.css') }}" rel="stylesheet" media="all">
<script src="{{ getFingerprint('javascripts/head-ie8.js') }}"></script>
<![endif]-->
<script src="/javascripts/vendor/modernizr.js"></script>
{% for stylesheet in stylesheets %}
<link href="{{ getFingerprint(stylesheet) }}" rel="stylesheet" media="all" />
<link href="{{ getFingerprint(stylesheet) }}" rel="stylesheet" media="all">
{%- endfor %}
{%- endblock %}

Expand Down
4 changes: 2 additions & 2 deletions src/styles/page-template/custom/code.njk
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ ignore_in_sitemap: true

{% block head %}
<!--[if !IE 8]><!-->
<link href="/govuk-frontend/all.css" rel="stylesheet" />
<link href="/govuk-frontend/all.css" rel="stylesheet">
<!--<![endif]-->

{# For Internet Explorer 8, you need to compile specific stylesheet #}
{# see https://github.com/alphagov/govuk-frontend/blob/master/docs/installation/supporting-internet-explorer-8.md #}
<!--[if IE 8]>
<link href="/govuk-frontend/all-ie8.css" rel="stylesheet" />
<link href="/govuk-frontend/all-ie8.css" rel="stylesheet">
<![endif]-->

{# For older browsers to allow them to recognise HTML5 elements such as `<header>` #}
Expand Down
4 changes: 2 additions & 2 deletions src/styles/page-template/custom/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ ignore_in_sitemap: true
{% block head %}
<meta name="robots" content="noindex, nofollow">
<!--[if !IE 8]><!-->
<link href="{{ getFingerprint('stylesheets/main.css') }}" rel="stylesheet" media="all" />
<link href="{{ getFingerprint('stylesheets/main.css') }}" rel="stylesheet" media="all">
<!--<![endif]-->
<!--[if lt IE 9]>
<link href="{{ getFingerprint('stylesheets/main-ie8.css') }}" rel="stylesheet" media="all" />
<link href="{{ getFingerprint('stylesheets/main-ie8.css') }}" rel="stylesheet" media="all">
<script src="{{ getFingerprint('javascripts/head-ie8.js') }}"></script>
<![endif]-->
<script src="/javascripts/vendor/modernizr.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions src/styles/page-template/default/code.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ ignore_in_sitemap: true

{% block head %}
<!--[if !IE 8]><!-->
<link href="/govuk-frontend/govuk/all.css" rel="stylesheet" />
<link href="/govuk-frontend/govuk/all.css" rel="stylesheet">
<!--<![endif]-->

{# For Internet Explorer 8, you need to compile specific stylesheet #}
{# see https://github.com/alphagov/govuk-frontend/blob/master/docs/installation/supporting-internet-explorer-8.md #}
<!--[if IE 8]>
<link href="/govuk-frontend/all-ie8.css" rel="stylesheet" />
<link href="/govuk-frontend/all-ie8.css" rel="stylesheet">
<![endif]-->

{# For older browsers to allow them to recognise HTML5 elements such as `<header>` #}
Expand Down
4 changes: 2 additions & 2 deletions src/styles/page-template/default/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ layout: false
{% block head %}
<meta name="robots" content="noindex, nofollow">
<!--[if !IE 8]><!-->
<link href="{{ getFingerprint('stylesheets/main.css') }}" rel="stylesheet" media="all" />
<link href="{{ getFingerprint('stylesheets/main.css') }}" rel="stylesheet" media="all">
<!--<![endif]-->
<!--[if lt IE 9]>
<link href="{{ getFingerprint('stylesheets/main-ie8.css') }}" rel="stylesheet" media="all" />
<link href="{{ getFingerprint('stylesheets/main-ie8.css') }}" rel="stylesheet" media="all">
<script src="{{ getFingerprint('javascripts/head-ie8.js') }}"></script>
<![endif]-->
<script src="/javascripts/vendor/modernizr.js"></script>
Expand Down