1
0
Fork 0
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:
vrana 2012-12-21 16:20:02 -08:00
parent 1c2e7e5daa
commit 1264e38541

View file

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