I have the following text in a text-area field called field1:
hi,
how are you?
I am fine!
I have an RTF-file on my computer with this tag in it: %%field1%%
In Servoy I call the function, to replace the tags: replaceTags()
If I open the RTF-file in Word the line-breaks are gone, so I see this:
You need to replace the \n’s with \par\n .
So I guess you need to create an unstored calculation that replaces the returns into RTF codes and use that as source for your tag.