mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 09:20:58 +01:00
Add "phabricator-remarkup" to transaction comments
Summary: Fixes T2596. We currently omit this, so we don't get some styling (lists, e.g.) Test Plan: Viewed a remarkup list in Macro, Pholio. Reviewers: chad, vrana Reviewed By: chad CC: aran Maniphest Tasks: T2596 Differential Revision: https://secure.phabricator.com/D5114
This commit is contained in:
parent
7ab7783ad3
commit
51a1b76899
1 changed files with 7 additions and 1 deletions
|
@ -71,7 +71,13 @@ abstract class PhabricatorApplicationTransactionComment
|
||||||
|
|
||||||
|
|
||||||
public function didMarkupText($field, $output, PhutilMarkupEngine $engine) {
|
public function didMarkupText($field, $output, PhutilMarkupEngine $engine) {
|
||||||
return $output;
|
require_celerity_resource('phabricator-remarkup-css');
|
||||||
|
return phutil_tag(
|
||||||
|
'div',
|
||||||
|
array(
|
||||||
|
'class' => 'phabricator-remarkup',
|
||||||
|
),
|
||||||
|
$output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue