1
0
Fork 0
mirror of synced 2024-06-26 10:10:57 +12:00

feat(email-tempaltes): apply nl2p filters

This commit is contained in:
Christy Jacob 2021-07-26 23:25:14 +05:30
parent 198c5087c7
commit 823a76d73d

View file

@ -74,7 +74,7 @@ class Template extends View
if (\is_readable($this->path)) {
$template = \file_get_contents($this->path); // Include template file
} else if (!empty($this->content)) {
$template = $this->print($this->content);
$template = $this->print($this->content, self::FILTER_NL2P);
} else {
throw new Exception('"'.$this->path.'" template is not readable or not found');
}