Small Text Field getting printed Without New Line in Custom Print Format

Hello,

Without selecting any Print Format fieldtype “small text” and “Text” getting printed with new line.

Custom Print Format

Output in One Line

May I know how to get output in New Line for fieldtype “Small Text” in Custom Print Format as shown in first screenshot.

I also tried HTML “pre” tag, but it’s showing as below.

Custom Print Format Using Pre Tag

Thanks

Hi @umarless,

Use doc.get_formatted. Please apply and check it.

{{ doc.get_formatted('small_text') }}

For reference, please check the whole post.

I hope this helps.

Thank You!

1 Like