Variables not translated in HTML format
jo1ene - September 15, 2005 - 16:20
| Project: | |
| Version: | HEAD |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
When I send a mail in plain text the variable %username and others get translated accordingly. When sending in HTML format, they do not.

#1
The problem resides in function theme_mail_message(); it calls node_view to get the node's text. Replace the call to node_view with $node->message at line 320.
Also, insert the following before line 367:
$node->message = $message;