```<#assign addressSplit = subsidiary.mainaddre...
# suitescript
s
Copy code
<#assign addressSplit = subsidiary.mainaddress_text?split("/\n/g","r")>
   <#list addressSplit[0..2] as addressLine>
       ${addressLine}<br>
   </#list>
Trying to split the subsidiary.mainaddress in freemarker not sure what else I can try... tried <br> as well, anyone hint me what else I should try?
Copy code
"/\r/g" , "<br>" "/\n/g"
am I missing something?
b
probably want to try rendering it as html first
so that you can see what text is in mainaddress_text
s
@battk i can't i'm actually playing with standard advanced pdf rendered via say more actions>print pdf
b
or more invasive use Print Using HTML
s
just a guess, but it could be
<br />
instead of
<br>
, since it is a self-closing tag