Differential D10014 Diff 24180 src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldRemarkup.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldRemarkup.php
Show All 26 Lines | public function renderPropertyViewValue(array $handles) { | ||||
} | } | ||||
// TODO: Once this stabilizes, it would be nice to let fields batch this. | // TODO: Once this stabilizes, it would be nice to let fields batch this. | ||||
// For now, an extra query here and there on object detail pages isn't the | // For now, an extra query here and there on object detail pages isn't the | ||||
// end of the world. | // end of the world. | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
return PhabricatorMarkupEngine::renderOneObject( | return PhabricatorMarkupEngine::renderOneObject( | ||||
id(new PhabricatorMarkupOneOff())->setContent($value), | id(new PhabricatorMarkupOneOff()) | ||||
->setContent($value) | |||||
->setPReserveLinebreaks(true), | |||||
'default', | 'default', | ||||
$viewer); | $viewer); | ||||
} | } | ||||
public function getApplicationTransactionTitle( | public function getApplicationTransactionTitle( | ||||
PhabricatorApplicationTransaction $xaction) { | PhabricatorApplicationTransaction $xaction) { | ||||
$author_phid = $xaction->getAuthorPHID(); | $author_phid = $xaction->getAuthorPHID(); | ||||
Show All 24 Lines |