Freemaker outputing spaces

Answered

Comments

1 comment

  • Avatar
    Rhys Saraceni

    Hi Stanley

    When you press enter to go down to the next line for the freemarker, you are generating a line break that would remain in your HTML even if the freemarker is no longer visible after being processed. You could avoid having extra lines by placing the freemarker text in line with existing content. For example, instead of this:

    When:
    <#assign state=Recipient.contact.address1_stateorprovince[0]!""/>
    <#if state=="NSW">

    Try this:

    When:<#assign state=Recipient.contact.address1_stateorprovince[0]!""/><#if state=="NSW">

Please sign in to leave a comment.