diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 928daad5362..f4479ec4c2c 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -2758,7 +2758,7 @@ Your account on [site:name] has been canceled. if ($replace) { // We do not sanitize the token replacement, since the output of this // replacement is intended for an e-mail message, not a web browser. - return token_replace($text, $variables, array('language' => $language, 'callback' => 'user_mail_tokens', 'sanitize' => FALSE)); + return token_replace($text, $variables, array('language' => $language, 'callback' => 'user_mail_tokens', 'sanitize' => FALSE, 'clear' => TRUE)); } return $text;