I set up the site-wide contact form with contact.module and sent myself a message. I got:

Subject: [<em>General</em>] <em>testing contact</em>

<em>bjaspan</em> sent a message using the contact form at
<em>http://www.jaspan.com/contact</em>.

test test test

Looks like contact_mail_page_submit is using t('%something') which now automatically wraps the argument in theme('placeholder').

CommentFileSizeAuthor
#1 contact_placeholder.patch1.16 KBchx

Comments

chx’s picture

Status: Active » Needs review
StatusFileSize
new1.16 KB

As the mail is not HTML, nor @ nor % is appropriate here. I did a grep % modules/contact/contact.module |grep t\( to see whether there are more such but found none.

alexis’s picture

Tried the patch and works. Thanks!

chx’s picture

Status: Needs review » Reviewed & tested by the community
dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)
boriso’s picture

Version: x.y.z » 5.1

still same problem in version 5.1. I tried to replace with the head version, doesn't work either.

boriso’s picture

Category: bug » support

sorry. My mistake. I was using the email cck contact form (which has the same problem...)