[#319] added a trimRight polyfill to help fixing multi-line ASCII rendering