feat: Clean mail variables
This commit is contained in:
parent
4ce737e914
commit
262c9a10f7
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ class Mail extends Event
|
|||
*/
|
||||
public function setVariables(array $variables): self
|
||||
{
|
||||
$this->variables = $variables;
|
||||
$this->variables = array_map(fn ($var) => strip_tags($var), $variables);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue