Using this in an email sent via rules when an order's status changes:

[updated-order:shipping-address]

Results in this in the email:

FIRST NAME135 WEST 29TH STREETNEW YORK, NY 10001

It's that way in the email source, too so I can't just wrap it in a pre tag, and I can't find anywhere to fix it. It's also not in uppercase in the source data, so I have no idea why it's doing that here.

CommentFileSizeAuthor
#1 1460684-multiline-address-token.patch600 byteslongwave

Comments

longwave’s picture

Status: Active » Needs review
StatusFileSize
new600 bytes

Please test the attached patch.

longwave’s picture

Status: Needs review » Fixed

Fixed in a safer way in uc_order_tokens(), which has zero chance of side effects elsewhere: http://drupalcode.org/project/ubercart.git/commitdiff/cda8b48

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.