HTML not rendering in some order emails?
-
Hi – Not sure if this functionality change was intentional but I’ve noticed that some of the translations order emails no longer render HTML.
For example, the string:
Just to let you know — your payment has been confirmed, and order #%s is now being processed:
I translate to something like:
Thank you for your order.<br /> <br /> We have confirmed your payment and are now preparing your order.
This has worked previously, with the br tags being rendered correctly in my email application, but for some reason recently some of the emails no longer render correctly.
Though some still work! For example:
Thanks for your order. It’s on-hold until we confirm that payment has been received. In the meantime, here’s a reminder of what you ordered:
This renders fine.
Another thing to note is that the latter string in the .pot file has remained the same for a long time. Whereas the Payment Confirmation email has changed a lot in the past 12 months.
I understand that there are a number of places where this could be breaking (email application, translation plugin, transactional email service, etc) but thought I’d ask here first because the fact that it’s working for some, not working for others indicates to me that something within Woocommerce may have changed.
- The topic ‘HTML not rendering in some order emails?’ is closed to new replies.