Preserve line breaks for the instruction fields
This commit is contained in:
@@ -86,7 +86,9 @@ final class AphrontFormView extends AphrontView {
|
|||||||
public function appendRemarkupInstructions($remarkup) {
|
public function appendRemarkupInstructions($remarkup) {
|
||||||
return $this->appendInstructions(
|
return $this->appendInstructions(
|
||||||
PhabricatorMarkupEngine::renderOneObject(
|
PhabricatorMarkupEngine::renderOneObject(
|
||||||
id(new PhabricatorMarkupOneOff())->setContent($remarkup),
|
id(new PhabricatorMarkupOneOff())
|
||||||
|
->setContent($remarkup)
|
||||||
|
->setPReserveLinebreaks(true),
|
||||||
'default',
|
'default',
|
||||||
$this->getUser()));
|
$this->getUser()));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user