We’re using Aspose for Cloud (Words) to populte a pre-uploaded docx document with data via JSON replacing the placeholders in the document. Everything is working fine so far but every placeholder item wrapped in a foreach statement is prefixed with a whitespace.
So far we couldnt find a solution - is this related to a broken template file or do we need to remove some magic (hidden) characters in the template which have might been introduced by the office producing the templates?
Microsoft Word Mustache(Logic-less) Mail Merge template placeholders with JSON data whitespace issue using Aspose.Words REST API
Can you please share you template, JSON and a screenshot to highlight the issue?