We're having an issue where text containing newlines is not formatted correctly in the resulting document.
If we have a word document with this, for example:
{{ content }}
with content being something like:
this
is
a test
will be rendered as:
this is a test
Is there a way to explicitly insert a line break into text which will be inserted into placeholders? So far, I have tried to replace newlines in the raw text explicitly with Word newlines (e.g. <w:br/> and the like) but those are obviously escaped before the rendering.
Hi,
We're having an issue where text containing newlines is not formatted correctly in the resulting document.
If we have a word document with this, for example:
with
content
being something like:will be rendered as:
Is there a way to explicitly insert a line break into text which will be inserted into placeholders? So far, I have tried to replace newlines in the raw text explicitly with Word newlines (e.g.
<w:br/>
and the like) but those are obviously escaped before the rendering.Thanks a lot for your help!