@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Preserve line breaks in standard remarkup fields

Summary: Initially the change is aimed to solve issue with line breaks being lost in projects descriptions. But it is done in a general place so line breaks behavior is more consistent all over the place.

Test Plan:
- Write a multiline description of the project, using single \n for line breakers.
- View project details in project/view/X?

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D10014

authored by

Sergey Sharybin and committed by
epriestley
1888f614 1be1f800

+3 -1
+3 -1
src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldRemarkup.php
··· 32 32 33 33 $viewer = $this->getViewer(); 34 34 return PhabricatorMarkupEngine::renderOneObject( 35 - id(new PhabricatorMarkupOneOff())->setContent($value), 35 + id(new PhabricatorMarkupOneOff()) 36 + ->setContent($value) 37 + ->setPReserveLinebreaks(true), 36 38 'default', 37 39 $viewer); 38 40 }