digitick / php-sepa-xml

* THIS PROJECT IS NO LONGER MAINTAINED* SEPA file generator in PHP
107 stars 63 forks source link

Direct debit special character #19

Open elernonelma opened 10 years ago

elernonelma commented 10 years ago

Thank you for this great contribution.

In direct debit, when creditor or debtor name contains a '&' char, XML won't generate.

As in lib/Digitick/Sepa/DomBuilder/CustomerCreditTransferDomBuilder.php line 83 & 137, we should use htmlentites.