Skip to content

[pull] master from handlebars-lang:master#20

Merged
pull[bot] merged 1 commit into
turkdevops:masterfrom
handlebars-lang:master
Jun 25, 2026
Merged

[pull] master from handlebars-lang:master#20
pull[bot] merged 1 commit into
turkdevops:masterfrom
handlebars-lang:master

Conversation

@pull

@pull pull Bot commented Jun 25, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

* Fix noEscape numeric values being added instead of concatenated

In the inline output path, an unescaped mustache emitted the raw value
(`value != null ? value : ""`) rather than a string. When two such
appends were merged with ` + ` and both values were numbers, JavaScript
performed numeric addition: `{{a}}{{b}}` with noEscape and a=1, b=2
produced "3" instead of "12". The same affected triple-stash `{{{a}}}`.

Coerce non-null values to a String in the inline append, matching the
escaped path and the documented contract of `append` ("Coerces value to
a String").

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Igor Savin <iselwin@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Jun 25, 2026
@pull pull Bot added the ⤵️ pull label Jun 25, 2026
@pull pull Bot merged commit 13a7a67 into turkdevops:master Jun 25, 2026
1 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant