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

rtrim was used before errorenously