mirror of
https://we.phorge.it/source/phorge.git
synced 2025-04-07 18:08:31 +02: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})");
|
$event->setName("{$name_text} ({$status_text})");
|
||||||
$details = '';
|
$details = '';
|
||||||
if ($status->getDescription()) {
|
if ($status->getDescription()) {
|
||||||
$details = "\n\n".rtrim(phutil_escape_html($status->getDescription()));
|
$details = "\n\n".rtrim($status->getDescription());
|
||||||
}
|
}
|
||||||
$event->setDescription(
|
$event->setDescription(
|
||||||
$status->getTerseSummary($user).$details
|
$status->getTerseSummary($user).$details
|
||||||
|
|
Loading…
Add table
Reference in a new issue