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

Fix error with child maintenance example #3880

Closed
wants to merge 1 commit into from

Conversation

owenatgov
Copy link
Contributor

A minor bug that got missed in a previous review. Swaps out quotes in the phase banner in the example so that it doesn't break the html string.

@owenatgov owenatgov requested a review from a team June 30, 2023 10:44
@owenatgov owenatgov added this to the v4.7.0 milestone Jun 30, 2023
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-3880 June 30, 2023 10:44 Inactive
@@ -43,7 +43,7 @@ scenario: >-
tag: {
text: "beta"
},
html: "This is a new service – your <a class="govuk-link" href="#">feedback</a> will help us to improve it."
html: "This is a new service – your <a class='govuk-link' href='#'>feedback</a> will help us to improve it."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh nice spot

Would you mind if we always used double quotes in HTML?

Nunjucks doesn't mind single quotes, and we tend to use them when they enclose double quotes

Suggested change
html: "This is a new service – your <a class='govuk-link' href='#'>feedback</a> will help us to improve it."
html: 'This is a new service – your <a class="govuk-link" href="#">feedback</a> will help us to improve it.'

@owenatgov owenatgov removed this from the v4.7.0 milestone Jun 30, 2023
@owenatgov
Copy link
Contributor Author

Closing as this is superseded by #3953

@owenatgov owenatgov closed this Jul 11, 2023
@owenatgov owenatgov deleted the child-maintinence-phase-banner-error branch July 11, 2023 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants