Replace some hsprintf() by phutil_tag()
Test Plan: Looked at a diff with inline comment. Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7549
This commit is contained in:
@@ -32,9 +32,7 @@ final class PhabricatorFeedListController extends PhabricatorFeedController
|
||||
$builder->setUser($this->getRequest()->getUser());
|
||||
$view = $builder->buildView();
|
||||
|
||||
return hsprintf(
|
||||
'<div class="phabricator-feed-frame">%s</div>',
|
||||
$view);
|
||||
return phutil_tag_div('phabricator-feed-frame', $view);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user