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

String literal in docs site missing double quotes #1470

Open
karuppiah7890 opened this issue Jul 8, 2024 · 0 comments · May be fixed by #1471
Open

String literal in docs site missing double quotes #1470

karuppiah7890 opened this issue Jul 8, 2024 · 0 comments · May be fixed by #1471

Comments

@karuppiah7890
Copy link

Link 🔗: https://mozilla.github.io/nunjucks/templating.html#replace:~:text=%7B%25%20set%20letters%20%3D%20aaabbbccc%25%7D (use Chrome browser to open it with the highlighted text)

The issue is in replace section - https://mozilla.github.io/nunjucks/templating.html#replace , in one of the examples. The example with the issue looks like this -

{% set letters = aaabbbccc%}
{{ letters | replace("", ".") }}

Note how aaabbbccc is NOT wrapped in double quotes (""). That is the problem here. It's an error / bug in the docs 📃📄📑🐛 🐜 🪲 🐞 🕷️

@karuppiah7890 karuppiah7890 linked a pull request Jul 8, 2024 that will close this issue
4 tasks
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 a pull request may close this issue.

1 participant