Skip to content

Commit

Permalink
Correcting incorrect closing double quotes in pagination Nunjucks and…
Browse files Browse the repository at this point in the history
… updated CHANGELOG
  • Loading branch information
JoPintoPaul committed Jan 11, 2023
1 parent e5a4890 commit db2bd73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- [Correcting incorrect closing double quotes in pagination Nunjucks](https://github.com/alphagov/govuk-frontend/pull/3156)

### New features

#### Search within accordion content on supporting browsers
Expand Down
2 changes: 1 addition & 1 deletion src/govuk/components/pagination/template.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% set blockLevel = not params.items and (params.next or params.previous) %}

<nav class="govuk-pagination {{- ' ' + params.classes if params.classes }} {{- ' govuk-pagination--block' if blockLevel }}" role="navigation" aria-label="{{ params.landmarkLabel | default("results") }} {%- for attribute, value in params.attributes %} {{ attribute }}="{{ value }}" {%- endfor -%}">
<nav class="govuk-pagination {{- ' ' + params.classes if params.classes }} {{- ' govuk-pagination--block' if blockLevel }}" role="navigation" aria-label="{{ params.landmarkLabel | default("results") }}" {%- for attribute, value in params.attributes %} {{ attribute }}="{{ value }}" {%- endfor -%}>
{%- if params.previous and params.previous.href -%}
<div class="govuk-pagination__prev">
<a class="govuk-link govuk-pagination__link" href="{{ params.previous.href }}" rel="prev" {%- for attribute, value in params.previous.attributes %} {{ attribute }}="{{ value }}" {%- endfor -%}>
Expand Down

0 comments on commit db2bd73

Please sign in to comment.