Boris Yasen
10/01/2024, 8:30 PM<#assign text = "Testing
Testing2,
Testing3" />
<#assign cleaned_text = text?replace("[\\r\\n]+", ",", "r")>
${cleaned_text}
Then it shows as expected
Testing
Testing2, Testing3
However I have a field with same text but if I assign that value it doesn't work.
<#assign text = record.custfield_id />
<#assign cleaned_text = text?replace("[\\r\\n]+", ",", "r")>
${cleaned_text}
This shows the original text.
How to solve this problem?Gabriel Folstein
10/01/2024, 8:34 PM${record.custfield_id?html}
? Does it return any characters for the line break?scottvonduhn
10/02/2024, 6:37 PM