convert to MD only if needed

pull/22/head
Alex Puiu 2022-04-13 14:15:58 +03:00
rodzic 4c3f68a52c
commit 7eafb95fcd
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -89,7 +89,9 @@ if ($emails)
if($base64encode) {
$description = base64_decode($description);
}
$description = (new ConvertToMD($description))->execute();
if($description != strip_tags($description)) {
$description = (new ConvertToMD($description))->execute();
}
$data->description = $description;
$mailSender = new stdClass();
$mailSender->userId = $overview->reply_to[0]->mailbox;