Notifications

9 views

Description

When configuring templates on an HTML field. If you use a line break, it will not be displayed. And will instead display as if no line break was configured within the template.

 

ie.

A template value configuration of:

'Testing

Testing'

 

Will be displayed as

'Testing Testing'

within an HTML field.

Cause

This appears to be expected behaviour. You will notice that when using an HTML field in a template that 'Enter text in HTML format' message will display.

This is because HTML does not accept line breaks unless the command <br> is used.

Resolution

Modify the value within the template configuration for the HTML field so that the command <br> is used to add line breaks within the HTML field when using the template.
 
Please look into the screenshot: 'HTML Field linebreak config' to see how I was able to achieve this desired outcome.

Article Information

Last Updated:2020-02-07 06:22:42
Published:2020-02-07