Mustache considers string as a list of characters
I am trying to show a description with a Mustache template only if the
string is not empty :
{{#description}}<li><a><p>Description</p><p>{{description}}</p></a></li>{{/description}}
I tried the script in trymustache and it rendered only one li tag.
However, my app renders multipleli tag container the Description p, but
without the {{description}} rendered.
Has anyone ever encountered this problem?
No comments:
Post a Comment