Closed cjloong closed 10 years ago
No, unfortunately handlebars.php doesn't support it.
On Wed, Apr 30, 2014 at 6:55 AM, cjloong notifications@github.com wrote:
The handlebar has {{~prop}} or {{prop~}} that eats up all whitespace on the left or right of the generated string. Is this supported?
— Reply to this email directly or view it on GitHubhttps://github.com/XaminProject/handlebars.php/issues/61 .
regards, behrooz
Coincidence or not, i was about to ask the same question, because i got an error when using the ~ . Any plans on supporting this?
No, we don't have any plans on supporting this right now. However, if you're planning to implement it yourself, start with Tokenizer class and please don't hestitate to ask questions.
On Wed, Apr 30, 2014 at 11:41 PM, jonas-db notifications@github.com wrote:
Coincidence or not, i was about to ask the same question, because i got an error when using the ~ . Any plans on supporting this?
— Reply to this email directly or view it on GitHubhttps://github.com/XaminProject/handlebars.php/issues/61#issuecomment-41837155 .
regards, behrooz
Ok, no problem :) If i have some spare time i'll maybe give it a try.
Any luck on this? I am interested in this feature and was hoping not to reinvent the wheel.
The handlebar has {{~prop}} or {{prop~}} that eats up all whitespace on the left or right of the generated string. Is this supported?