[FEATURE] Add option for bold text in mails
This commit is contained in:
parent
a9a3ad38d4
commit
217aa02fc5
@ -214,6 +214,17 @@ class MailUtility
|
||||
},
|
||||
$htmlRow['data']
|
||||
);
|
||||
$htmlRow['data'] = preg_replace_callback(
|
||||
'/\*.*\*/mU',
|
||||
function($matches) {
|
||||
foreach ($matches as $match) {
|
||||
return '<b>'
|
||||
. substr($match, 1, -1)
|
||||
. '</b>';
|
||||
}
|
||||
},
|
||||
$htmlRow['data']
|
||||
);
|
||||
$textRow = $row;
|
||||
$textRow['data'] = preg_replace_callback(
|
||||
'/\[.*\]/mU',
|
||||
|
Loading…
x
Reference in New Issue
Block a user