mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
Preserve newlines in remarkup previews
Summary: Fixes T10177 Test Plan: Saw that the preview of the rendered task description showed newlines proper. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Maniphest Tasks: T10177 Differential Revision: https://secure.phabricator.com/D15068
This commit is contained in:
parent
3f36e498b7
commit
958333c46d
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ final class PHUIRemarkupView extends AphrontView {
|
|||
|
||||
return PhabricatorMarkupEngine::renderOneObject(
|
||||
id(new PhabricatorMarkupOneOff())
|
||||
->setPreserveLinebreaks(true)
|
||||
->setContent($corpus),
|
||||
'default',
|
||||
$viewer);
|
||||
|
|
Loading…
Reference in a new issue