Page MenuHomePhabricator

D7464.id.diff
No OneTemporary

D7464.id.diff

Index: src/applications/differential/view/DifferentialRevisionDetailView.php
===================================================================
--- src/applications/differential/view/DifferentialRevisionDetailView.php
+++ src/applications/differential/view/DifferentialRevisionDetailView.php
@@ -118,8 +118,9 @@
$properties->addSectionHeader(pht('Summary'));
$properties->addTextContent(
PhabricatorMarkupEngine::renderOneObject(
- id(new PhabricatorMarkupOneOff())->setContent(
- $revision->getSummary()),
+ id(new PhabricatorMarkupOneOff())
+ ->setPreserveLinebreaks(true)
+ ->setContent($revision->getSummary()),
'default',
$user));
}
@@ -128,8 +129,9 @@
$properties->addSectionHeader(pht('Test Plan'));
$properties->addTextContent(
PhabricatorMarkupEngine::renderOneObject(
- id(new PhabricatorMarkupOneOff())->setContent(
- $revision->getTestPlan()),
+ id(new PhabricatorMarkupOneOff())
+ ->setPreserveLinebreaks(true)
+ ->setContent($revision->getTestPlan()),
'default',
$user));
}

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 11, 7:26 AM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7508540
Default Alt Text
D7464.id.diff (1 KB)

Event Timeline