Drupal Association members fund grants that make connections all over the world.
Upon updating an order's status and electing to send a notification to the customer, the email that is sent is broken html. When I view the source of the email attachment it looks like this:
<p>Your order number <a href="<a href="https://www.example.com/user/73/orders/15">15</a>">https://www.example.com/user/73/orders/15">15</a></a> at MySite has been updated.</p>
Notice the escaped HTML tags that surround the real HTML.
I have found code that likely has a part in the output:
uc_order/uc_order.module:787: $messages['order_update_email'] = t("[uc_order:first-name] [uc_order:last-name],\n\nYour order number [uc_order:link] at [store:name] has been updated.\n\nOrder status: [uc_order:order-status]\n\nOrder comment:\n[uc_order:last-comment]\n\nBrowse to the following page to login to your account and view your order details:\n[site:login-link]\n\n\nThanks again,\n\n[store:name]\n[site:slogan]");
The text that results from that must be going through a convert-to-html call somewhere(?), but I don't know where to find that to provide more info. It seems to convert the /n's to <p>'s fine but messes up the href's. Looks like it's trying to convert things like [uc_order:link] that are likely already html.