Skip to content

Commit 3696d23

Browse files
committed
grammar fixes in 4.0.0 release notes
1 parent a5a3ab0 commit 3696d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
- Fix location information for programs - [93faffa](https://github.com/wycats/handlebars.js/commit/93faffa)
5151

5252
Compatibility notes:
53-
- Depthed paths are now conditional pushed on to the stack. If the helper uses the same context, then a new stack is not created. This leads to behavior the better matches expectations for helpers like `if` that do not seem to alter the context. Any instances of `../` in templates will need to be checked for the correct behavior under 4.0.0. In general templates will either reduce the number of `../` instances or leave them as is. See [#1028](https://github.com/wycats/handlebars.js/issues/1028).
53+
- Depthed paths are now conditionally pushed on to the stack. If the helper uses the same context, then a new stack is not created. This leads to behavior that better matches expectations for helpers like `if` that do not seem to alter the context. Any instances of `../` in templates will need to be checked for the correct behavior under 4.0.0. In general templates will either reduce the number of `../` instances or leave them as is. See [#1028](https://github.com/wycats/handlebars.js/issues/1028).
5454
- The `=` character is now HTML escaped. This closes a potential exploit case when using unquoted attributes, i.e. `<div foo={{bar}}>`. In general it's recommended that attributes always be quoted when their values are generated from a mustache to avoid any potential exploit surfaces.
5555
- AST constructors have been dropped in favor of plain old javascript objects
5656
- The runtime version has been increased. Precompiled templates will need to use runtime of at least 4.0.0.

0 commit comments

Comments
 (0)