Fix Laravel Pint formatting
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user