Skip to content

Commit 51a1b76

Browse files
author
epriestley
committed
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
1 parent 7ab7783 commit 51a1b76

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/applications/transactions/storage/PhabricatorApplicationTransactionComment.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,13 @@ public function getMarkupText($field) {
7171

7272

7373
public function didMarkupText($field, $output, PhutilMarkupEngine $engine) {
74-
return $output;
74+
require_celerity_resource('phabricator-remarkup-css');
75+
return phutil_tag(
76+
'div',
77+
array(
78+
'class' => 'phabricator-remarkup',
79+
),
80+
$output);
7581
}
7682

7783

0 commit comments

Comments
 (0)