[TASK] Add target _blank to html emails

This commit is contained in:
Philipp Dieter 2022-09-29 14:14:02 +02:00
parent 21725f0f1e
commit 660bc3f275
2 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@ class MailUtility
default:
return '<a href="'
. $matchesInner[1]
. '">'
. '" target="_blank">'
. $matchesInner[2]
. '</a>';
break;

View File

@ -89,7 +89,7 @@
<f:case value="buttoncenter">
<span style="display: inline-block;" class="buttonwrapper">
<f:variable name="rowData">{row.data -> v:format.json.decode()}</f:variable>
<a style="display: inline-block; color: {buttonColor}" href="{rowData.0}">
<a style="display: inline-block; color: {buttonColor}" target="_blank" href="{rowData.0}">
<span style="display: inline-block; padding: 10px 15px; border-radius: 3px; background-color: {buttonBackgroundcolor};">
{rowData.1}
</span>