From d1b60fec4858f07abca7756be55e220fd03ad80b Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 22 Jul 2014 20:51:24 +0600 Subject: [PATCH] Revert "Preserve lone breaks in projects description" This reverts commit 87e0a26d241a8e9e9b0f5a3c0061a36f601f8b17. --- .../PhabricatorProjectDescriptionField.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/applications/project/customfield/PhabricatorProjectDescriptionField.php b/src/applications/project/customfield/PhabricatorProjectDescriptionField.php index 26d1d29a7c..aaeeaeceb5 100644 --- a/src/applications/project/customfield/PhabricatorProjectDescriptionField.php +++ b/src/applications/project/customfield/PhabricatorProjectDescriptionField.php @@ -3,22 +3,6 @@ final class PhabricatorProjectDescriptionField extends PhabricatorProjectStandardCustomField { - public function renderPropertyViewValue(array $handles) { - $value = $this->getProxy()->getFieldValue(); - - if (!strlen($value)) { - return null; - } - - $viewer = $this->getViewer(); - return PhabricatorMarkupEngine::renderOneObject( - id(new PhabricatorMarkupOneOff()) - ->setContent($value) - ->setPreserveLineBreaks(true), - 'default', - $viewer); - } - public function createFields($object) { return PhabricatorStandardCustomField::buildStandardFields( $this,