mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 02:32:42 +01:00
Avoid HTML escaping in plain text e-mails
Summary: Seen in e-mail from T2016. Test Plan: None. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2432 Differential Revision: https://secure.phabricator.com/D5016
This commit is contained in:
parent
0d38bca11f
commit
8eb404aea7
1 changed files with 5 additions and 1 deletions
|
@ -624,8 +624,12 @@ final class ManiphestTransactionDetailView extends ManiphestView {
|
||||||
$links[] = $this->handles[$phid]->renderLink();
|
$links[] = $this->handles[$phid]->renderLink();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ($this->forEmail) {
|
||||||
|
return implode(', ', $links);
|
||||||
|
} else {
|
||||||
return phutil_implode_html(', ', $links);
|
return phutil_implode_html(', ', $links);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private function renderString($string) {
|
private function renderString($string) {
|
||||||
if ($this->forEmail) {
|
if ($this->forEmail) {
|
||||||
|
|
Loading…
Reference in a new issue