mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
Fix double escaping in calendar
Test Plan: Used `<img` as status description. Reviewers: btrahan, epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T139 Differential Revision: https://secure.phabricator.com/D4276
This commit is contained in:
parent
1c2e7e5daa
commit
1264e38541
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ final class PhabricatorCalendarBrowseController
|
|||
$event->setName("{$name_text} ({$status_text})");
|
||||
$details = '';
|
||||
if ($status->getDescription()) {
|
||||
$details = "\n\n".rtrim(phutil_escape_html($status->getDescription()));
|
||||
$details = "\n\n".rtrim($status->getDescription());
|
||||
}
|
||||
$event->setDescription(
|
||||
$status->getTerseSummary($user).$details
|
||||
|
|
Loading…
Reference in a new issue