From e5789515a2ab0742f82b2bf065c5a7b4c8a7e8d7 Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 5 Oct 2020 14:14:54 -0600 Subject: [PATCH] * Calendar/Merge: Fix {{link}} placeholder not working for HTML mails, use {{link/href}} to get a clickable link --- api/src/Storage/Merge.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/Storage/Merge.php b/api/src/Storage/Merge.php index 1ab574d294..7767a034d8 100644 --- a/api/src/Storage/Merge.php +++ b/api/src/Storage/Merge.php @@ -446,6 +446,8 @@ abstract class Merge } else if($matches[2][$i] == 'href') { + // Turn on HTML style parsing or the link will be escaped + $this->parse_html_styles = true; $link = Api\Html::a_href(Api\Html::htmlspecialchars($title), $link); }