Closed ShinojEdakkara closed 7 years ago
Hi @ShinojEdakkara, you should process the data and remove all of the spaces before giving it to the template. This will depend on the language and implementation you are using. Thanks for using Mustache :)
Yes, that is what I eventually did, but then I forgot to add the comment here on how I fixed it -:)
Thanks for the follow up! Nice to know you managed to solve it.
I have the following snippet from a template which needs to take tags, trim the tags, and generted the code,
Here is the Json (again only snippet is provided here)
I want to remove all the spaces in the tags in the generated code
What it generates is this ,
Instead what I want to generate is , com.test.EventManagerTasksHealthManagmentApi apiInstance;
Another thing I would like to do is to just use the first item in the tags , ie "Event Manager Tasks" and then generate the above code. How can I do that ?