mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-18 02:31:10 +01:00
Fix one more remarkup line wrapping issue
Summary: Ran into this while fixing T11098#179088. The "Transaction Type" details in the conduit autogenerated documentation for `*.edit` endpoints still wraps incorrectly. Test Plan: Purged remarkup cache, reloaded page, got full-width text. Reviewers: avivey, chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D16065
This commit is contained in:
parent
fb2da8bd8b
commit
8a7ded6129
1 changed files with 5 additions and 0 deletions
|
@ -158,6 +158,11 @@ abstract class PhabricatorEditEngineAPIMethod
|
|||
|
||||
$view = new PHUIRemarkupView($viewer, $remarkup);
|
||||
|
||||
$view->setRemarkupOptions(
|
||||
array(
|
||||
PHUIRemarkupView::OPTION_PRESERVE_LINEBREAKS => false,
|
||||
));
|
||||
|
||||
return id(new PHUIBoxView())
|
||||
->appendChild($view)
|
||||
->addPadding(PHUI::PADDING_LARGE);
|
||||
|
|
Loading…
Reference in a new issue