From 51a1b7689972434c8bd3b133b9867e68acf2b7ad Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 25 Feb 2013 21:10:41 -0800 Subject: [PATCH] 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 --- .../storage/PhabricatorApplicationTransactionComment.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/applications/transactions/storage/PhabricatorApplicationTransactionComment.php b/src/applications/transactions/storage/PhabricatorApplicationTransactionComment.php index f68325e585..eba85fec6e 100644 --- a/src/applications/transactions/storage/PhabricatorApplicationTransactionComment.php +++ b/src/applications/transactions/storage/PhabricatorApplicationTransactionComment.php @@ -71,7 +71,13 @@ abstract class PhabricatorApplicationTransactionComment public function didMarkupText($field, $output, PhutilMarkupEngine $engine) { - return $output; + require_celerity_resource('phabricator-remarkup-css'); + return phutil_tag( + 'div', + array( + 'class' => 'phabricator-remarkup', + ), + $output); }