DocAPI does not handle line breaks in template variables

Description

If a linebreak is used within the content of template variables (e.g. a textarea field), this linebreak can not be found in the PDF output of DocAPI.

Example:

textarea field:

PDF output:

 

This was also reported by our community:
https://community.datagerry.com/t/docapi-does-not-keep-the-structure-of-the-formatted-text/177

Environment

None

Activity

Show:
Michael Batz
October 5, 2020, 3:31 PM

This needs more verification as we cannot simply add <br> tags for newlines in template variables. This may cause broken HTML if this happens in HTML attributes.

Assignee

Unassigned

Reporter

Michael Batz