"---<br />" string is now removed correctly from the end of customization data text

rtrim was used before errorenously

Full explanation with example about the problem here : https://github.com/PrestaShop/PrestaShop/pull/999#issuecomment-28884513