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

Allow to set default markup context for text variables #69

Closed
tripodsan opened this issue Jun 5, 2019 · 1 comment · Fixed by #70
Closed

Allow to set default markup context for text variables #69

tripodsan opened this issue Jun 5, 2019 · 1 comment · Fixed by #70
Labels

Comments

@tripodsan
Copy link
Contributor

The current markup context for variables output to HTML text is html. The HTL spec is not 100% clear about this. For use cases, where the source data is assumed to be safe it would be benefitial to change the default markup context to unsafe, i.e. to bypass any xss sanitizer.

tripodsan added a commit that referenced this issue Jun 5, 2019
tripodsan added a commit that referenced this issue Jun 5, 2019
adobe-bot pushed a commit that referenced this issue Jun 5, 2019
# [3.0.0](v2.3.2...v3.0.0) (2019-06-05)

### Features

* **compiler:** allow to set default context ([5c735d0](5c735d0)), closes [#69](#69)
* **runtime:** Add support for DOM variables ([d4bab4c](d4bab4c)), closes [#62](#62)

### BREAKING CHANGES

* **runtime:** the response from the runtime template is no longer an object, but the generated string or document.
@adobe-bot
Copy link

🎉 This issue has been resolved in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants