1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00

Parse inline comments via remarkup engine

Summary: Inline comments weren't haven't remarkup applied. Fixes T3137

Test Plan: Added some inline comments, checked that they had remarkup applied. Also checked in the real time preview.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T3137

Differential Revision: https://secure.phabricator.com/D6024
This commit is contained in:
Gareth Evans 2013-05-24 05:11:40 -07:00 committed by epriestley
parent e591ef4db9
commit 38778a8b84
3 changed files with 3 additions and 3 deletions

View file

@ -3588,7 +3588,7 @@ celerity_register_resource_map(array(
), ),
'pholio-css' => 'pholio-css' =>
array( array(
'uri' => '/res/0daaf1ca/rsrc/css/application/pholio/pholio.css', 'uri' => '/res/73796b1e/rsrc/css/application/pholio/pholio.css',
'type' => 'css', 'type' => 'css',
'requires' => 'requires' =>
array( array(

View file

@ -96,7 +96,7 @@ final class PholioTransactionView
), ),
$thumb); $thumb);
$inline_comment = hsprintf('<p>%s</p>', $comment->getContent()); $inline_comment = parent::renderTransactionContent($inline);
return phutil_tag( return phutil_tag(
'div', 'div',

View file

@ -191,7 +191,7 @@
padding-bottom: 2px; padding-bottom: 2px;
} }
.pholio-transaction-inline-comment p { .pholio-transaction-inline-comment div {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
padding-bottom: 2px; padding-bottom: 2px;