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

Alter string concatenation based on recommendation in ticket ONSDESYS… #3477

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

admilne
Copy link
Contributor

@admilne admilne commented Jan 22, 2025

What is the context of this PR?

Applies the change suggested in ONSDESYS-231

I wasn't sure how to test this locally to see if it fixes the specific issue raised but applying the suggested fix doesn't appear to break anything.

Unfortunately I couldn't find anything in the nunjucks documentation around string concatenation but I believe Nunjucks is based on Jinja and the ~ is used for string concatenation. A ChatGPT solution also suggested ~ is the correct way to concatenate strings.

How to review this PR

Run the tests and check nothing breaks.

Checklist

This needs to be completed by the person raising the PR.

  • I have selected the correct Assignee
  • I have linked the correct Issue

@admilne admilne added the Bug Something isn't working label Jan 22, 2025
@admilne admilne requested a review from a team January 22, 2025 09:50
@admilne admilne self-assigned this Jan 22, 2025
Copy link

netlify bot commented Jan 22, 2025

Deploy Preview for ons-design-system-preview ready!

Name Link
🔨 Latest commit 193774f
🔍 Latest deploy log https://app.netlify.com/sites/ons-design-system-preview/deploys/6790bf4b0385e8000810d3e1
😎 Deploy Preview https://deploy-preview-3477--ons-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant