-
-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
The problem
According to Handlebars helper documentation:
A Handlebars helper call is a simple identifier, followed by zero or more parameters
Identifiers may be any unicode character except for the following:
Whitespace ! " # % & ' ( ) * + , . / ; < = > @ [ \ ] ^ ` { | } ~
It looks like usage example is not valid:
{{String.Append "foobar" "bar"}}In order to be rendered correctly it should be:
{{[String.Append] "foobar" "bar"}}Simple example of Handlebarsjs behavior using suggested syntax: https://jsfiddle.net/bc89sjmg/1/
- Expected:
AAA- printed twiceBBB- printed once
- Actual:
AAA- printed onceBBB- printed once
In Handlerbars.CSharp I've followed the same approach to be as close to Handlebarsjs as possible. Changes related to the topic were made in oformaniuk/Handlebars.Net/pull/20 and oformaniuk/Handlebars.Net/pull/21
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working