Hello, I have an Advanced PDF template tied to Sa...
# advancedpdf
s
Hello, I have an Advanced PDF template tied to Saved Search, and for some reason, the
${result.billaddress}
does NOT respect the <br> tags that are inherent in the XML. Any suggestions?
d
have you tried the
?replace
built-in? Otherwise maybe:
Copy code
<#list result.billaddress?split('<br>') as billAddressLine>
  ${billAddressLine}<br />
</#list>
have a look at ?interpret, I think that would also work Something like:
Copy code
<#assign inlineTemplate = result.billaddress?interpret>
<@inlineTemplate />
s
@David B Unfortunately, neither of these solutions worked. The text is still displayed across a single line. if I anchor the template to a Sales Order, and use the ${record.billaddress} it respects the <br> tags just fine. Very odd. Something with the Saved Search result that ignores this no matter what I try. Getting this same issue with other customer instances. Can you confirm?