Example subject:
[<em>Subject (email)</em> - <em>E-mail</em>] <em>terst</em>
Example first part of the mail body:
<em>admin</em> sent a message using the contact form at
<em>http://www.domein.test/drupal5/email/13/field_email</em>
This can be repaired by replacing the % symbols by @ symbols. This prevents theming the replaced parts with the default emphasized tag.
Line 353 becomes:
$message[] = t("@name sent a message using the contact form at @form.", array('@name' => $edit['name'], '@form' => url($_GET['q'], NULL, NULL, TRUE)));
Line 362 becomes:
$subject = t('[@title - @contact] @subject', array('@title' => preg_replace("/\r|\n/",'',$node->title), '@contact' => $types['fields'][$fieldname]['widget']['label'], '@subject' => $edit['subject']));
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | email.159467.patch | 1.41 KB | sutharsan |
Comments
Comment #1
ray007 commentedBeen wondering about the same - subscribing.
Comment #2
Rob_Feature commentedI've used this numerous times and it works just fine. Please commit it so I don't have to keep coming back here to remember the answer :)
Comment #3
lias commentedthanks very much for this, I was wondering how to fix it.
Comment #4
Rob_Feature commentedThere's some more % symbols in line 372. Should those be replaced as well?
Comment #5
jurriaanroelofs commentedwould be nice if this could be commited to the module
Comment #6
sutharsan commentedPatch with 4p's changes attached. Please commit.
@bobchristenson: these %'s are not contained in the email and will not cause any problems. In fact they are good as they are.
Comment #7
KingMoore commentedI have tested this patch and it works. Please commit.
Comment #8
mh86 commentedthanks for the patch, it has been committed :)
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.