diff --git a/src/applications/maniphest/controller/ManiphestTaskDetailController.php b/src/applications/maniphest/controller/ManiphestTaskDetailController.php index bbc7a4d5ac..cf1059d99e 100644 --- a/src/applications/maniphest/controller/ManiphestTaskDetailController.php +++ b/src/applications/maniphest/controller/ManiphestTaskDetailController.php @@ -520,7 +520,7 @@ final class ManiphestTaskDetailController extends ManiphestController { if (strlen($task->getDescription())) { $view->addSectionHeader(pht('Description')); $view->addTextContent( - phutil_render_tag( + phutil_tag( 'div', array( 'class' => 'phabricator-remarkup', diff --git a/src/applications/maniphest/controller/ManiphestTaskListController.php b/src/applications/maniphest/controller/ManiphestTaskListController.php index 32952ce5af..a51951a4de 100644 --- a/src/applications/maniphest/controller/ManiphestTaskListController.php +++ b/src/applications/maniphest/controller/ManiphestTaskListController.php @@ -348,7 +348,7 @@ final class ManiphestTaskListController extends ManiphestController { $count = number_format(count($list)); $header = - javelin_render_tag( + javelin_tag( 'h1', array( 'class' => 'maniphest-task-group-header', @@ -357,7 +357,7 @@ final class ManiphestTaskListController extends ManiphestController { 'priority' => head($list)->getPriority(), ), ), - phutil_escape_html($group).' ('.$count.')'); + $group.' ('.$count.')'); $panel = new AphrontPanelView(); diff --git a/src/applications/meta/view/PhabricatorApplicationLaunchView.php b/src/applications/meta/view/PhabricatorApplicationLaunchView.php index 566783c5e2..3aea3fe3c5 100644 --- a/src/applications/meta/view/PhabricatorApplicationLaunchView.php +++ b/src/applications/meta/view/PhabricatorApplicationLaunchView.php @@ -120,16 +120,23 @@ final class PhabricatorApplicationLaunchView extends AphrontView { $classes[] = 'application-tile-full'; } - $app_button = phutil_render_tag( + $app_button = phutil_tag( $application ? 'a' : 'div', array( 'class' => implode(' ', $classes), 'href' => $application ? $application->getBaseURI() : null, 'title' => $application ? $application->getShortDescription() : null, ), - $icon. - $this->renderSingleView($content)); + $this->renderHTMLView( + array( + $icon, + $content, + ))); - return $app_button.$create_button; + return $this->renderHTMLView( + array( + $app_button, + $create_button, + )); } } diff --git a/src/applications/transactions/view/PhabricatorApplicationTransactionCommentView.php b/src/applications/transactions/view/PhabricatorApplicationTransactionCommentView.php index f9ec9f0a1b..aba6d84bab 100644 --- a/src/applications/transactions/view/PhabricatorApplicationTransactionCommentView.php +++ b/src/applications/transactions/view/PhabricatorApplicationTransactionCommentView.php @@ -122,13 +122,13 @@ class PhabricatorApplicationTransactionCommentView extends AphrontView { ), pht('Preview')); - return phutil_render_tag( + return phutil_tag( 'div', array( 'id' => $this->getPreviewPanelID(), 'style' => 'display: none', ), - self::renderSingleView( + self::renderHTMLView( array( $header, $preview,