1
0
Fork 0
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:
vrana 2013-02-19 13:51:55 -08:00
parent 0d38bca11f
commit 8eb404aea7

View file

@ -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) {