mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52:41 +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,7 +624,11 @@ final class ManiphestTransactionDetailView extends ManiphestView {
|
||||||
$links[] = $this->handles[$phid]->renderLink();
|
$links[] = $this->handles[$phid]->renderLink();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return phutil_implode_html(', ', $links);
|
if ($this->forEmail) {
|
||||||
|
return implode(', ', $links);
|
||||||
|
} else {
|
||||||
|
return phutil_implode_html(', ', $links);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function renderString($string) {
|
private function renderString($string) {
|
||||||
|
|
Loading…
Reference in a new issue