Releases: Pinjasaur/templater.js
Releases · Pinjasaur/templater.js
v3.1.0
New feature: don't automatically escape HTML entities by setting autoescape: false
in a configuration object that can now be passed as the 2nd parameter to templater
.
templater("template string", { autoescape: false })
Thanks @Bekreth!
v3.0.1
Patch bump from v3.0.0.
Built dist. files didn't have the new version.
v3.0.0
- Update Node dependencies.
- Match prop names in context case insensitive.
Example:
Given an example context
can only reference as {{ name }}
, not {{ Name }}
, {{ NAME }}
, etc.
v2.0.0
Add support for nested properties like so: {{foo.bar.baz}}
.
Also added support referencing functions in the data object as well.
The documentation is updated on the project page.
v1.0.3
Windows causing weird issues with backslashes with unpkg.
v1.0.1
v1.0.1
Updated dependencies and fixed typos and issues in documentation.
v1.0.0
Initial v1.0.0 public release.