Api: Fix links got escaped when put into mail templates

This commit is contained in:
nathangray 2020-10-05 14:14:54 -06:00
parent dd015a62a8
commit 81cdf759a3

View File

@ -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);
}