Skip to content
Snippets Groups Projects
Commit 1b5fbd4c authored by andrew farquharson's avatar andrew farquharson
Browse files

change function in functionjavascript test, too

parent f4f6aadf
No related branches found
No related tags found
1 merge request!10611Keep user emails plain text
...@@ -132,7 +132,7 @@ public function checkBodyText(): bool { ...@@ -132,7 +132,7 @@ public function checkBodyText(): bool {
// Assume the most recent email. // Assume the most recent email.
$_emails = $this->drupalGetMails(); $_emails = $this->drupalGetMails();
$email = end($_emails); $email = end($_emails);
if (strip_tags($email['body']) === $email['body']) { if (htmlspecialchars_decode($email['body']) === $email['body']) {
return TRUE; return TRUE;
} }
return FALSE; return FALSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment