mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 08:19:45 +01:00
Api: Fix links got escaped when put into mail templates
This commit is contained in:
parent
dd015a62a8
commit
81cdf759a3
@ -446,6 +446,8 @@ abstract class Merge
|
|||||||
}
|
}
|
||||||
else if($matches[2][$i] == 'href')
|
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);
|
$link = Api\Html::a_href(Api\Html::htmlspecialchars($title), $link);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user