Terms and Condition displayed on one line in Credit Memo

Terms and Condition displayed on one line in Credit Memo

Hi,

I'm building a custom templates for Credit Memo, from invoice custom templates. Also I created an Credit Note from an Invoice.

I notice that
- the placeholder %TermsAndCondition% (invoice) displays a multiline text correctly in the invoice PDF
- the placeholder %CN_TermsAndCondition% (credit note) is a copy from the invoice and have the same content.
- the placeholder %CN_TermsAndCondition% (credit note) displays the multiline text on one line in the credit memo PDF

So I add the %TermsAndCondition% (invoice) in the credit memo template.... and the multiline text is displayed correctly...

I think the %CN_TermsAndCondition% has return carriage removed when displayed in custom template. Other wise, why %TermsAndCondition% is displayed correctly in the same Credit Memo template.