fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -11,6 +11,7 @@ class BroadcastEmailComposerService
$html = preg_replace('#<(script|iframe)[^>]*>.*?</\\1>#is', '', $html);
$html = preg_replace('/\\son\\w+="[^"]*"/i', '', $html);
$html = preg_replace("/\\son\\w+='[^']*'/i", '', $html);
return $html ?? '';
}
@@ -26,7 +27,7 @@ class BroadcastEmailComposerService
): string {
$content = $personalize ? str_replace('{{name}}', $recipientName, $body) : $body;
if (!$wrapLayout) {
if (! $wrapLayout) {
return $content;
}