I notice when using the {{text}:html} it is adding a blank empty line at the top of the merged data within a DOCX file.
Is there a way to stop that from happening?
I notice when using the {{text}:html} it is adding a blank empty line at the top of the merged data within a DOCX file.
Is there a way to stop that from happening?
Hello @Consilium,
Please share the DOCX template, the JSON data and a screenshot with the blank empty line in the result document. I'll try to reproduce the issue and provide advice on how to fix it.
You can send a message with the data to [email protected] with a reference to this thread.
Best regards,
Petr
Plumsail team
output.docx (23.7 KB)
plumsailtest.docx (27.3 KB)
Both cases it adds a blank line at the top of the control
{
"value": "1",
"value2": "<p>This is some text in a paragraph.</p>"
}
Hello @Consilium,
Thanks for the details!
I received the files on a support ticket as well.
I'll reply there after checking the case.
Best regards,
Petr
Plumsail team
Hello @Consilium,
You can use the built-in merge-xml formatter to get rid of the empty string
{{value1}}
{{value2}:html:merge-xml}
Best regards,
Petr
Plumsail team
Thanks, that did the trick.