Steps to reproduce: 1. Create a new snippet that has an HTML entity in it, like `&`. 2. Save the snippet and open it for editing again. Expected: The snippet code as you entered it will be shown in the textbox again. Actual: HTML entities, like &, will be unescaped in the textbox. For example, `&` will become `&` and cause XML validation errors if you try to submit it without fixing it.
Commit pushed to master at https://github.com/mozilla/snippets-service https://github.com/mozilla/snippets-service/commit/003a704aa3aec2042714c63fb9678c63b9340414 Fix bug 900177: Enable autoescaping in nunjucks for compiled templates. See https://github.com/jlongster/nunjucks/issues/105 for details on why we have to do this.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.