mozilla / nunjucks

A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)
https://mozilla.github.io/nunjucks/
BSD 2-Clause "Simplified" License
8.48k stars 634 forks source link

Fix typo in `replace` example #1419

Open 36degrees opened 1 year ago

36degrees commented 1 year ago

Summary

Quote the string aaabbbccc so that it is treated as a string rather than a variable name.

Add a space before the closing delimiter to match the format used elsewhere on the page.

Checklist

I've completed the checklist below to ensure I didn't forget anything. This makes reviewing this PR as easy as possible for the maintainers. And it gets this change released as soon as possible.