#1 2017-05-02 08:03:17

mingda
Member
Registered: 2013-01-04
Posts: 121

SynMustache Expression Helpers Enhance

I just test Mustache, i found Expression helpers error prone, i want to change date display format,
so use {{datefmt Birthday, "YYYY-MM-DD"}}, but found not success, after debug, i found this is
because there is a space after comma, can enhance to let Mustache auto ignore the space,
end user easy make this mistake, thanks!

Mingda

Offline

#2 2017-05-04 07:57:52

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: SynMustache Expression Helpers Enhance

Offline

#3 2017-05-04 11:57:24

mingda
Member
Registered: 2013-01-04
Posts: 121

Re: SynMustache Expression Helpers Enhance

Have test, confirm it works now,
Can the empty between helper function and variable also support multi space, thanks!
Also If the space before comma can ignore then will Perfect.

Last edited by mingda (2017-05-04 12:00:31)

Offline

Board footer

Powered by FluxBB